{:uriI"àfile:///home/arscaud1/.rvm/gems/ruby-2.2.4/gems/blacklight-6.1.0/app/assets/javascripts/blacklight/autocomplete.js?type=application/javascript&pipeline=self&id=d1548a6e5a3cc21cd762914d0bb25f598f8a0d150099c86ad9dae3d890a756e7:ET:load_pathI"U/home/arscaud1/.rvm/gems/ruby-2.2.4/gems/blacklight-6.1.0/app/assets/javascripts;T: filenameI"p/home/arscaud1/.rvm/gems/ruby-2.2.4/gems/blacklight-6.1.0/app/assets/javascripts/blacklight/autocomplete.js;T: nameI"blacklight/autocomplete;T:logical_pathI"$blacklight/autocomplete.self.js;T:content_typeI"application/javascript;T: sourceI"¯/*global Bloodhound */ Blacklight.onLoad(function() { 'use strict'; $('[data-autocomplete-enabled="true"]').each(function() { var $el = $(this); var suggestUrl = $el.data().autocompletePath; var terms = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'), queryTokenizer: Bloodhound.tokenizers.whitespace, remote: { url: suggestUrl + '?q=%QUERY', wildcard: '%QUERY' } }); terms.initialize(); $el.typeahead({ hint: true, highlight: true, minLength: 2 }, { name: 'terms', displayKey: 'term', source: terms.ttAdapter() }); }); }); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"~file-digest:///home/arscaud1/.rvm/gems/ruby-2.2.4/gems/blacklight-6.1.0/app/assets/javascripts/blacklight/autocomplete.js;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%GÚ-κú2¤ Œ.ˆÁ‹}|RϬeAµó}£: lengthi¯:dependencies_digest"%Ì6£Ä”µP¤¾¾–ÙYw]à³"ÍúR‘ÈË%£åF‚:idI"Ed1548a6e5a3cc21cd762914d0bb25f598f8a0d150099c86ad9dae3d890a756e7;F: mtimel+#2W