Hi!
I have a problem (and a solution). When I use the chosen-dojo in a application I've built I get the error message:
"SyntaxError: An invalid or illegal string was specified".
In the application I use Dojo 1.9.3 and the select is part of a template for a widget (which extends "_WidgetBase, _Container, _LayoutWidget, _TemplatedMixin, _WidgetsInTemplateMixin").
I tried the index.html file that comes with chosen-dojo and updated dojo to 1.9.3 and everything worked ok.
But not in my application. I'm not shure what it is that's causing this, but i have found a solution.
in chosen-dojo.js row 16:
dojo.query('>', this).forEach(function (child) {
if I change that line to:
dojo.query('option', this).forEach(function (child) {
everything seems to be working ok.
Is this a change that can/should be implemented to this respository?