2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-06-28 13:41:02 -06:00
tinyColorPicker/jqColorPicker-amd-wrapper.js

13 lines
356 B
JavaScript
Raw Normal View History

(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery', './colors'], function (jQuery, Colors) {
return factory(window, jQuery, Colors);
});
} else {
factory(window, jQuery, Colors);
}
}(
// jqColorPicker without self invoking part:
// beginning: drop first '('
// end: drop ')(window, jQuery, Colors);'
));