Sha256: f48ee9466d470e86c1481e5a94a2bbd2e9ce082d8b1814a7f5f195b2810e8271

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 KB

Contents

{:uriI"•file://app/assets/javascripts/makers.js?type=application/javascript&pipeline=self&id=1450ded7e97142eebd46477f71d8529cdf461b3cfcec8310528e99008f70bb4e: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"u// 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="maker_index_form"]',
      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"%J2•]Æ<ízô–ëØa‚ùÕwís…íÏ	YŠ'àµw:lengthiu:dependencies_digest"%ÇÑÊHRì˜:AfE2Ì™§íúwãªéB;]~tÁ®:idI"E1450ded7e97142eebd46477f71d8529cdf461b3cfcec8310528e99008f70bb4e;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/j4/j4LHNfO6__hgv-whyNtiERg8v_DaDzT2FFz_goR8T08.cache
autocompl-0.1.1 test/dummy/tmp/cache/assets/sprockets/v3.0/j4/j4LHNfO6__hgv-whyNtiERg8v_DaDzT2FFz_goR8T08.cache
autocompl-0.1.0 test/dummy/tmp/cache/assets/sprockets/v3.0/j4/j4LHNfO6__hgv-whyNtiERg8v_DaDzT2FFz_goR8T08.cache
autocompl-0.0.1 test/dummy/tmp/cache/assets/sprockets/v3.0/j4/j4LHNfO6__hgv-whyNtiERg8v_DaDzT2FFz_goR8T08.cache