Open drnkwati opened 6 years ago
Which line throws the error? I suspect it's possible that the error may be thrown from your code using Awesomplete
before it's loaded, than from Awesomplete itself.
From my console here are the lines from 10 in awesomplete.js: ` var _ = function (input, o) { var me = this;
// Keep track of number of instances for unique IDs
Awesomplete.count = (Awesomplete.count || 0) + 1;
this.count = Awesomplete.count;
// Setup`
However i noticed this behavior When i use the unminified version awesomplete.js everything works fine, but when i use the minified version awesomplete.min.js i get errors.
That's very weird. Which script loader are you using? Any chance you could put up a reduced testcase somewhere?
Same for me. I'm using webpack dynamic import()
. For minified version it is not working, but for unminified everything is working fine.
This error is thrown in console when using a script loader ReferenceError: Awesomplete is not defined