Sha256: 9c7422f131283c6717a3e6cd8d5437189c2e2446de09482a0079011dc043bee1
Contents?: true
Size: 1.73 KB
Versions: 3
Compression:
Stored size: 1.73 KB
Contents
{:uriI"file:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/inputs/_checkbox.js?type=application/javascript&pipeline=self&id=157441b2bd7962906b5721ae9659fcd81f8a8a8848938fc1357f29cba51ff17c:ET:load_pathI"G/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts;F: 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"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:integrityI"Xni:///sha-256;h6hEGUr6tdIyedDBUjBK6_hf-N6dBgx5L3R1XNVIrSg?ct=application/javascript;T:dependencies_digest"%}Qm}qc.#\ ϕkﱕ^|5c8:idI"E157441b2bd7962906b5721ae9659fcd81f8a8a8848938fc1357f29cba51ff17c;F: mtimel+[X
Version data entries
3 entries across 3 versions & 1 rubygems