Sha256: fa4ee1f15242057bed98c6fa6b7319095ef4d5c715f5e2aff6866fe2b457040a

Contents?: true

Size: 1.82 KB

Versions: 4

Compression:

Stored size: 1.82 KB

Contents

{:uriI"file:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/fae_chosen.js?type=application/javascript&pipeline=self&id=83e1c873f8ced700b3b2e7011b86ec1fd04c8621b5aae15e0e01a39b290d6d89:ET:load_pathI"G/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts;F:
filenameI"^/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/fae_chosen.js;T:	nameI"fae/form/fae_chosen;T:logical_pathI" fae/form/fae_chosen.self.js;T:content_typeI"application/javascript;T:sourceI"z(function ( $ ) {
  'use strict';

  /**
   * This plugin sets chosen defaults and massages options based on class names.
   * @function external:"jQuery.fn".fae_chosen
   */
  $.fn.fae_chosen = function( options ) {
    var defaults = {
      disable_search_threshold: 10
    };

    var settings = $.extend( {}, defaults, options );

    return this.each(function() {
      var $this = $(this);

      // remove threshold if show_search class is added from `search: true`
      if ($this.hasClass('select-search')) {
        settings.disable_search_threshold = 0;
      }

      $this.chosen(settings);
    });

  };

}( jQuery ));
;T:
metadata{:dependencieso:Set:
@hash}	I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"lfile-digest:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/fae_chosen.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%9<6ɬ<JN$}
t6_ই7:lengthiz:integrityI"Xni:///sha-256;0M45PLE2FgzJrIY8qErlTh8kt30NtXQ2EF_gpocHpDc?ct=application/javascript;T:dependencies_digest"% p⤏B i] `2e.,)}p]&+r:idI"E83e1c873f8ced700b3b2e7011b86ec1fd04c8621b5aae15e0e01a39b290d6d89;F:
mtimel+W

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wWHSMdjrznlUoGUh0FiELUHwBeC-nsCMdX2svxcR6dk.cache
fae-rails-1.5.1 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wWHSMdjrznlUoGUh0FiELUHwBeC-nsCMdX2svxcR6dk.cache
fae-rails-1.5.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wWHSMdjrznlUoGUh0FiELUHwBeC-nsCMdX2svxcR6dk.cache
fae-rails-1.4.1 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wWHSMdjrznlUoGUh0FiELUHwBeC-nsCMdX2svxcR6dk.cache