{:uriI"file:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/inputs/_checkbox.js?type=application/javascript&pipeline=self&id=c1e8acc387e4560e2a0d8f17ec351f84330ac652521734e69e1e4ff0ec1c129a:ET:load_pathI"G/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts;T: filenameI"d/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/inputs/_checkbox.js;T: nameI"fae/form/inputs/_checkbox;T:logical_pathI"&fae/form/inputs/_checkbox.self.js;T:content_typeI"application/javascript;T: sourceI"/* global Fae */ /** * Fae form checkbox * @namespace form.checkbox * @memberof form */ Fae.form.checkbox = { init: function() { this.setCheckboxAsActive(); }, /** * Run through the checkboxes and see if they are checked. apply js class for styling. */ setCheckboxAsActive: function() { $('.boolean label, .js-checkbox-wrapper label').each(function(){ var $this = $(this); if ($this.find(':checkbox:checked').length) { $this.addClass('active'); } }); } }; ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"rfile-digest:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/inputs/_checkbox.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%DJ2yR0J_ޝ y/tu\H(: lengthi:dependencies_digest"%O式hr?dAP=:idI"Ec1e8acc387e4560e2a0d8f17ec351f84330ac652521734e69e1e4ff0ec1c129a;F: mtimel+ɧX