mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-06-28 05:31:07 -06:00
13 lines
356 B
JavaScript
13 lines
356 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);'
|
||
|
));
|