Cannot call method 'mixin' of undefined
Hello,
Got this error on the line: MicroPlugin.mixin(Selectize);
Using jQuery 2.0.3. Using selectize 0.8.5.
Calling with:
$('select').selectize();
Regards
If you're not including the dependencies manually, you must use the standalone build.
Thank's, I thought that the standalone build was without jQuery.
That's a lil missleading, ran into the same problem. Thanks.
same here, but thanks to this thread :)
same here, but thanks to this thread :)
With this being a recurring issue, is there any way this can be made more clear? In the readme, it states:
standalone/selectize.js — With dependencies, minus jquery selectize.js — Without dependencies
:sob: :broken_heart:
I'm using the one in the standalone folder, but minified (doesnt work).
I had to use standalone unminified version for the error to go away.
how would i tell bower which to use?
As @9mm stated, the minified version of the standalone version also gives this same error. It would seem there is a build misconfiguration with generating the minified version of the file since the unminified standalone build works fine. This is still true as of 0.12.1.
Same here. I had the same issue like @9mm and @dlong500
I have the same problem as @9mm
The minified version gives the same error... "Unable to get property 'mixin' of undefined or null reference"
I am unable to use and of the standalone builds.
This is still an issue, the standalone builds are not usable because they are missing the microplugin.js and the sifter.js code. You can find those here https://github.com/brianreavis/microplugin.js/blob/master/src/microplugin.js and here https://github.com/brianreavis/sifter.js/blob/master/sifter.js
Once I added those into the selectize.js it solved the problem. Hope that helps!