typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

typeahead.js how to do with requirejs

Open nnstn opened this issue 8 years ago • 0 comments

shim: { typeahead:{ deps: ['jquery'], exports:'Bloodhound', init: function ($) { return require.context.registry['typeahead.js'].factory($); } } }

the problem is undifined。how to config the requirejs

nnstn avatar Jun 27 '18 02:06 nnstn