typeahead.js - Cannot read property 'tokenizers' of undefined using Typeahead -
i using twitter's "typeahead.js 0.11.1", got error "cannot read property 'tokenizers' of undefined". put code below, please me check did wrong. paths: { 'jquery' : 'assets/lib/jquery.min', 'underscore' : 'assets/lib/underscore-min', 'backbone' : 'assets/lib/backbone.min', 'marionette' : 'assets/lib/backbone.marionette.min', 'bootstrap' : 'assets/lib/bootstrap.min', 'typeahead' : 'assets/lib/typeahead.bundle.min', }, shim: { typeahead:{ deps: ['jquery'], exports:'bloodhound', init: function ($) { return require.s.contexts._.registry['typeahead.js'].factory( $ ); } } } marionette's view code below: define(['jquery', ...