Sha256: d253044a4fd0ff293c6eadb817fc50ce8dd1dbcc6fa28ae4bbb15054121e8152

Contents?: true

Size: 1.49 KB

Versions: 7

Compression:

Stored size: 1.49 KB

Contents

{:uriI"•file://app/assets/javascripts/makers.js?type=application/javascript&pipeline=self&id=9ba7ed5deac965a23a05f28361dddd9b76c7312a372df4b94917ef0d20f1aac3: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"s// 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('/makers/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"%ѱDí†UN¤â#vãwØìßg®°®á×(*o„›Û':lengthis:dependencies_digest"%¤NC‘³É=|úþï³óyÛs?<ƒÈ¥¯±&ÍjF:idI"E9ba7ed5deac965a23a05f28361dddd9b76c7312a372df4b94917ef0d20f1aac3;F:
mtimel+÷‹ˆX

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
autocompl-0.2.2 test/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGNVy9mLadG3Ye6gWVK-FDbzFk0J518PwmRTd4Tq39s.cache
autocompl-0.2.1 test/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGNVy9mLadG3Ye6gWVK-FDbzFk0J518PwmRTd4Tq39s.cache
autocompl-0.2.0 test/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGNVy9mLadG3Ye6gWVK-FDbzFk0J518PwmRTd4Tq39s.cache
autocompl-0.1.2 test/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGNVy9mLadG3Ye6gWVK-FDbzFk0J518PwmRTd4Tq39s.cache
autocompl-0.1.1 test/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGNVy9mLadG3Ye6gWVK-FDbzFk0J518PwmRTd4Tq39s.cache
autocompl-0.1.0 test/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGNVy9mLadG3Ye6gWVK-FDbzFk0J518PwmRTd4Tq39s.cache
autocompl-0.0.1 test/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGNVy9mLadG3Ye6gWVK-FDbzFk0J518PwmRTd4Tq39s.cache