{:uriI"file:///Users/forsaken/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activeadmin-1.3.1/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee?type=application/javascript&pipeline=self&id=4d88ff5ec28fbb1f016cc4f74a02dd27415bca86d46dc8dce2249ff0e69104e5:ET:load_pathI"l/Users/forsaken/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activeadmin-1.3.1/app/assets/javascripts;T: filenameI"/Users/forsaken/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activeadmin-1.3.1/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee;T: nameI",active_admin/lib/table-checkbox-toggler;T:logical_pathI"4active_admin/lib/table-checkbox-toggler.self.js;T:content_typeI"application/javascript;T: sourceI"G(function() { var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; ActiveAdmin.TableCheckboxToggler = (function(superClass) { extend(TableCheckboxToggler, superClass); function TableCheckboxToggler() { return TableCheckboxToggler.__super__.constructor.apply(this, arguments); } TableCheckboxToggler.prototype._init = function() { return TableCheckboxToggler.__super__._init.apply(this, arguments); }; TableCheckboxToggler.prototype._bind = function() { TableCheckboxToggler.__super__._bind.apply(this, arguments); return this.$container.find('tbody td').click((function(_this) { return function(e) { if (e.target.type !== 'checkbox') { return _this._didClickCell(e.target); } }; })(this)); }; TableCheckboxToggler.prototype._didChangeCheckbox = function(checkbox) { TableCheckboxToggler.__super__._didChangeCheckbox.apply(this, arguments); return $(checkbox).parents('tr').toggleClass('selected', checkbox.checked); }; TableCheckboxToggler.prototype._didChangeToggleAllCheckbox = function() { return this.$container.find('tbody tr').toggleClass('selected', TableCheckboxToggler.__super__._didChangeToggleAllCheckbox.apply(this, arguments)); }; TableCheckboxToggler.prototype._didClickCell = function(cell) { return $(cell).parent('tr').find(':checkbox').click(); }; return TableCheckboxToggler; })(ActiveAdmin.CheckboxToggler); $.widget.bridge('tableCheckboxToggler', ActiveAdmin.TableCheckboxToggler); }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"file-digest:///Users/forsaken/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activeadmin-1.3.1/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%A~ZVƅSAY1/_V: lengthiG:dependencies_digest"% W DDk05\әs~:idI"E4d88ff5ec28fbb1f016cc4f74a02dd27415bca86d46dc8dce2249ff0e69104e5;F: mtimel+y[