Permalink
Browse files

Effect: Create a local jQuery variable to make jQuery Color work

Fixes #10199
Closes gh-1282
  • Loading branch information...
scottgonzalez committed Jul 14, 2014
1 parent bb29287 commit 2447cabd598ed4b58587fa5054a0c9f7b9bd9bd6
Showing with 5 additions and 1 deletion.
  1. +5 −1 ui/effect.js
View
@@ -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: {}

0 comments on commit 2447cab

Please sign in to comment.