Sha256: 83b0416ad9a57a1330f054d3f4b266cc766fdcbc677e4a77cf8a8772df7df3e2
Contents?: true
Size: 1.33 KB
Versions: 14
Compression:
Stored size: 1.33 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"fae/fae_chosen.js; FI" pathname; TI"Y/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/fae_chosen.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+ËßTI"length; Ti5I"digest; TI"%9d55f7e6b2eea0a5dfeee55212b27967; FI"source; TI"5// this plugin sets chosen defaults and massages options based on class names var FaeChosen = { options: { disable_search_threshold: 10 }, init: function(options, elm){ // unite the default options with the passed-in ones this.options = $.extend({}, this.options, options); var $elm = $(elm); // remove threshold if show_search class is added from `search: true` if ($elm.hasClass('select-search')) { this.options.disable_search_threshold = 0; } $(elm).chosen(this.options); } }; // make it a plugin $.plugin("fae_chosen", FaeChosen); ; TI"dependency_digest; TI"%3b91404e624e37aa2d472faab1a2e664; FI"required_paths; T[I"Y/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/fae_chosen.js; FI"dependency_paths; T[{I" path; TI"Y/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/fae_chosen.js; FI" mtime; TI"2015-02-14T14:24:12-08:00; TI"digest; TI"%9d55f7e6b2eea0a5dfeee55212b27967; FI" _version; TI"%4bf7b15359fe8e0974f7f263e26e27f4; F
Version data entries
14 entries across 7 versions & 1 rubygems