2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-06-27 13:11:01 -06:00
tinyColorPicker/development/jqColorPicker-amd-wrapper.js
2016-02-28 13:50:21 +01:00

13 lines
354 B
JavaScript

(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);'
));