From 2447cabd598ed4b58587fa5054a0c9f7b9bd9bd6 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 14 Jul 2014 13:18:44 -0400 Subject: Effect: Create a local jQuery variable to make jQuery Color work Fixes #10199 Closes gh-1282 --- ui/effect.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ui/effect.js') 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: {} -- cgit v1.2.3