typeahead.js
typeahead.js copied to clipboard
typeahead.js how to do with requirejs
shim: { typeahead:{ deps: ['jquery'], exports:'Bloodhound', init: function ($) { return require.context.registry['typeahead.js'].factory($); } } }
the problem is undifined。how to config the requirejs