aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2014-07-14 13:18:44 -0400
committerScott González <scott.gonzalez@gmail.com>2014-07-15 09:30:21 -0400
commit2447cabd598ed4b58587fa5054a0c9f7b9bd9bd6 (patch)
treeb6cedbd626d1dd9166e3ed62f227a3b06fa1bd57
parentbb29287c3c26445eb2808e014cf74f60a11c3aa4 (diff)
downloadjquery-ui-2447cabd598ed4b58587fa5054a0c9f7b9bd9bd6.tar.gz
jquery-ui-2447cabd598ed4b58587fa5054a0c9f7b9bd9bd6.zip
Effect: Create a local jQuery variable to make jQuery Color work
Fixes #10199 Closes gh-1282
-rw-r--r--ui/effect.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/effect.js b/ui/effect.js
index cd8c80d16..6ca565390 100644
--- a/ui/effect.js
+++ b/ui/effect.js
@@ -20,7 +20,11 @@
}
}(function( $ ) {
-var dataSpace = "ui-effects-";
+var dataSpace = "ui-effects-",
+
+ // Create a local jQuery because jQuery Color relies on it and the
+ // global may not exist with AMD and a custom build (#10199)
+ jQuery = $;
$.effects = {
effect: {}