applegrew/django-select2

Uncaught SyntaxError: Unexpected number /static/js/select2.min.js:1

alesdotio opened this issue · 2 comments

I receive this error only when using DEBUG=False. Replacing select2.min.js with the latest minified version from http://ivaynberg.github.com/select2/ fixed the issue. You might want to use that version instead?

There seems to be something wrong in your minified script. For example, near the definition of escapeMarkup: "" should be "\".

Please check the latest Master code