2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-06-27 21:21:02 -06:00
tinyColorPicker/development/jqColorPicker-amd-wrapper.js

13 lines
354 B
JavaScript
Raw Permalink Normal View History

(function (factory) {
if (typeof define === 'function' && define.amd) {
2016-02-28 01:49:25 +01:00
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);'
));