Sha256: d01c5611614f5bd3bfccb18baf191429fe7d7f32c4176903942b0fdb105b346c

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

{:uriI"file:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/form/fae_chosen.js?type=application/javascript&pipeline=self&id=8d014b478688755a0434702ff9cdc200ef682ea9f7877e62950e1518f012dc8a:ET:load_pathI"G/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts;T:
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:dependencies_digest"%<&=6-P笽lAjP:idI"E8d014b478688755a0434702ff9cdc200ef682ea9f7877e62950e1518f012dc8a;F:
mtimel+%BV

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fae-rails-1.2.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/f4j2-MFjFnI8p0zhcZJRzLbvCsJbVwYbrIPJdP5Vd5k.cache