Sha256: aeacc10ae562d0913a23c8c2a5edf52b61417cc1794b97882be33285f2a5a8eb

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 KB

Contents

{:uriI"file://app/assets/javascripts/makers.js?type=application/javascript&pipeline=self&id=c6b2370ab944cce5a988ddf8c757a8a95045095eeca389c1c8c9decfa3076ad9:ET:load_pathI"app/assets/javascripts;T:
filenameI"%app/assets/javascripts/makers.js;T:	nameI"makers;T:logical_pathI"makers.self.js;T:content_typeI"application/javascript;T:sourceI"f// 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', { term: term }, function(data){
            term = term.toLowerCase();
            var matches = [];
            for (i=0; i<data.length; i++)
              if (~data[i].toLowerCase().indexOf(term)) matches.push(data[i]);
            response(matches);
          });
      }
  });
});
;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"3file-digest://app/assets/javascripts/makers.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%$bX=`wnjY#}Xʳ:lengthif:dependencies_digest"%p䃄j}Ȩعgkim^;:idI"Ec6b2370ab944cce5a988ddf8c757a8a95045095eeca389c1c8c9decfa3076ad9;F:
mtimel+X

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
autocompl-0.1.2 test/dummy/tmp/cache/assets/sprockets/v3.0/Jo/Jo1XaRqQf93bXjTGhkVYU3DZwCtr8UrXXhEOnyBV6Ck.cache
autocompl-0.1.1 test/dummy/tmp/cache/assets/sprockets/v3.0/Jo/Jo1XaRqQf93bXjTGhkVYU3DZwCtr8UrXXhEOnyBV6Ck.cache
autocompl-0.1.0 test/dummy/tmp/cache/assets/sprockets/v3.0/Jo/Jo1XaRqQf93bXjTGhkVYU3DZwCtr8UrXXhEOnyBV6Ck.cache
autocompl-0.0.1 test/dummy/tmp/cache/assets/sprockets/v3.0/Jo/Jo1XaRqQf93bXjTGhkVYU3DZwCtr8UrXXhEOnyBV6Ck.cache