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

13 lines
302 B
JavaScript
Raw Normal View History

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