Sha256: 3d0bdac6e0e76c2bee9f2f0c3f5e13a0d68d61ea3a3c2f01bb31fd7207b32dd5
Contents?: true
Size: 1.48 KB
Versions: 4
Compression:
Stored size: 1.48 KB
Contents
{:uriI"file://app/assets/javascripts/products.js?type=application/javascript&pipeline=self&id=ce8b6f5871a064d90e9171d6af847fdc4efbd9b59ba99fae33f6a165d87becc1:ET:load_pathI"app/assets/javascripts;T: filenameI"'app/assets/javascripts/products.js;T: nameI" products;T:logical_pathI"products.self.js;T:content_typeI"application/javascript;T:sourceI"Y// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function() { new autoComplete({ selector: 'input[name="q"]', source: function(term, response){ $.getJSON('/products/autocomplete_endpoint', { q: term }, function(data){ console.log(data); var matches = []; for (i=0; i<data.length; i++) if (~data[i].toLowerCase().indexOf(term)) matches.push(data[i]); response(data); }); } }); }); ;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"5file-digest://app/assets/javascripts/products.js;TTF: requiredo;;} F:stubbedo;;} F: linkso;;} F:charsetI" utf-8;F:digest"%kU@*T֙'a>S| c:lengthiY:dependencies_digest"%P3XRݘ"iȺ"Ā_s(I9:idI"Ece8b6f5871a064d90e9171d6af847fdc4efbd9b59ba99fae33f6a165d87becc1;F: mtimel+X
Version data entries
4 entries across 4 versions & 1 rubygems