2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-08-15 21:22:44 -06:00

fixes AMD definition

This commit is contained in:
peterd 2016-03-11 20:56:42 +01:00
parent 45c9c0b9d9
commit 6d4af8d7b8
5 changed files with 5 additions and 7 deletions

View File

@ -2,7 +2,7 @@
if (typeof exports === 'object') { if (typeof exports === 'object') {
module.exports = factory(root); module.exports = factory(root);
} else if (typeof define === 'function' && define.amd) { } else if (typeof define === 'function' && define.amd) {
define([], function () { define('colors', [], function () {
return factory(root); return factory(root);
}); });
} else { } else {

View File

@ -336,6 +336,4 @@
_instance = $(); _instance = $();
}; };
return $;
})); }));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "tinyColorPicker", "name": "tinyColorPicker",
"version": "1.0.1", "version": "1.0.2",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "http://github.com/PitPik/tinyColorPicker.git" "url": "http://github.com/PitPik/tinyColorPicker.git"