Sha256: 45eb16accb7dc98c04fb6a66740e505f6e64e97acb7f04560281f534a172bbe7

Contents?: true

Size: 1.81 KB

Versions: 4

Compression:

Stored size: 1.81 KB

Contents

{:uriI"file:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/fae_chosen.js?type=application/javascript&pipeline=self&id=5cd36ead6d59ee2e5e9a686948d838c265436d22f32bf764ddb746eaf2ecba61: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"x'use strict';

(function ( $ ) {
  /**
   * 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;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%zUīFHP'ɍ~[":lengthix:integrityI"Xni:///sha-256;elWWEsSr7xqBy_tGSLTNUCe1rwOxABnbyY2ntX5bIqI?ct=application/javascript;T:dependencies_digest"%Gx5%ñcfQSw=iS8:idI"E5cd36ead6d59ee2e5e9a686948d838c265436d22f32bf764ddb746eaf2ecba61;F:
mtimel+\p.V

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fae-rails-1.2.5 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6nnpBjTDYqMid6nYWXCy3G3DNEo2DMLDjONBzIeg4AQ.cache
fae-rails-1.2.4 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6nnpBjTDYqMid6nYWXCy3G3DNEo2DMLDjONBzIeg4AQ.cache
fae-rails-1.2.3 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6nnpBjTDYqMid6nYWXCy3G3DNEo2DMLDjONBzIeg4AQ.cache
fae-rails-1.2.2 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6nnpBjTDYqMid6nYWXCy3G3DNEo2DMLDjONBzIeg4AQ.cache