{I" class:ETI"ProcessedAsset;FI"logical_path;TI")bootstrap3-autocomplete-input.min.js;TI" pathname;TI"ƒD:/Ruby215/lib/ruby/gems/2.1.0/gems/bootstrap3_autocomplete_input-0.0.6/lib/assets/javascripts/bootstrap3-autocomplete-input.min.js;TI"content_type;TI"application/javascript;TI" mtime;Tl+?ÔUI" length;Ti~I" digest;TI"%4cad9cdce726899e47ddd285c0b0cdb4;FI" source;TI"~var autocomplete_data_static={};$(document).ready(function(){$('input[data-provide="typeahead"][data-source-array]').each(function(){obj=$(this);var t=JSON.parse(obj.attr("data-source-array").replace(/"/g,'"'));obj.typeahead({source:t,items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})}),$('input[data-provide="typeahead"][data-source]').each(function(){obj=$(this);var t=obj.attr("id");autocomplete_data_static[t]={map:[],values:[]},$.get(obj.attr("data-source"),function(a){$.each(a,function(a,e){autocomplete_data_static[t].values.push(e[1]),autocomplete_data_static[t].map[e[1]]=e[0]}),obj.typeahead({source:autocomplete_data_static[t].values,updater:function(a){return obj_id=$("#"+obj.attr("data-field-id")),obj_id&&obj_id.val(autocomplete_data_static[t].map[a]),a},items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})},"json")}),$('input[data-provide="typeahead"][data-source-query]').each(function(){obj=$(this),obj.typeahead({source:function(t,a){obj=this.$element,rows=[];var e=obj.attr("name");autocomplete_data_static[e]={map:[],values:[]},$.getJSON(obj.attr("data-source-query"),{q:t},function(t){$.each(t,function(t,a){autocomplete_data_static[e].values.push(a[1]),autocomplete_data_static[e].map[a[1]]=a[0]}),a(autocomplete_data_static[e].values)})},updater:function(t){obj=this.$element;var a=obj.attr("name");return obj_id=$("#"+obj.attr("data-field-id")),obj_id&&obj_id.val(autocomplete_data_static[a].map[t]),t},items:obj.attr("data-items"),minLength:obj.attr("data-min-length"),afterSelect:function(t){var a=obj.attr("data-afterSelect")||"";if(""!=a){var e=window[a];"function"==typeof e&&e(t)}}})})}); ;TI"dependency_digest;TI"%c0b148b34c5fdfde366ad38f0cc51597;FI"required_paths;T[I"ƒD:/Ruby215/lib/ruby/gems/2.1.0/gems/bootstrap3_autocomplete_input-0.0.6/lib/assets/javascripts/bootstrap3-autocomplete-input.min.js;TI"dependency_paths;T[{I" path;TI"ƒD:/Ruby215/lib/ruby/gems/2.1.0/gems/bootstrap3_autocomplete_input-0.0.6/lib/assets/javascripts/bootstrap3-autocomplete-input.min.js;TI" mtime;TI"2015-03-18T03:26:23+02:00;TI" digest;TI"%b945123ca23b90561f84635725cfbcf8;FI" _version;TI"%d1429a9b81250b1cab2fc8a649c44d46;F