Skip to content

Instantly share code, notes, and snippets.

@asavin
Created February 28, 2014 11:48
Show Gist options
  • Select an option

  • Save asavin/9269747 to your computer and use it in GitHub Desktop.

Select an option

Save asavin/9269747 to your computer and use it in GitHub Desktop.
<script>
dom = require('dom');
autocomplete = require('autocomplete');
window.addEventListener('load', function() {
autocomplete('.searchBox');
autocomplete('#mobile-search');
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment