Closed bronboek closed 8 years ago
Hi @bronboek, thanks for this finding. colors needs to be defined when using in a single file
define('colors', [], function () {...
The 'colors'
made the difference.
You can now get the latest version and it will work.
Cheers
When I use the current jqColorPicker.min.js with RequireJS, something goes wrong:
TypeError: $(...).colorPicker is not a function $('.input--color').colorPicker({
When I use the seperate colors.js and jqColorPicker.js files, everything is fine. Probably the AMD wrapper is wrong in the minified version, can you fix this?