diff options
author | Scott González <scott.gonzalez@gmail.com> | 2014-07-14 13:18:44 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2014-07-15 09:30:21 -0400 |
commit | 2447cabd598ed4b58587fa5054a0c9f7b9bd9bd6 (patch) | |
tree | b6cedbd626d1dd9166e3ed62f227a3b06fa1bd57 | |
parent | bb29287c3c26445eb2808e014cf74f60a11c3aa4 (diff) | |
download | jquery-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.js | 6 |
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: {} |