ReferenceError: Bloodhound is not defined
Closed this issue · 1 comments
TiMESPLiNTER commented
I know there was already an issue about this. But I could not solve it using the old issue as a reference.
What I actually do is this:
var Bloodhound = require('typeahead.js/dist/bloodhound');
var typeahead = require('typeahead.js/dist/typeahead.jquery.js');
var addressPicker = require('typeahead-addresspicker/dist/typeahead-addresspicker.js');
But what I get is just a:
ReferenceError: Bloodhound is not defined
I even downgraded my typeahead.js version to 0.10.5 but it didn't solve the problem. Any idea what could lead to this problem?
TiMESPLiNTER commented
Okay the problem was the order. I had to load first typeahead and then Bloodhound. Was completely my fault and hat nothing to do with this lib here.