Skip to content

Commit 2447cab

Browse files
committed
Effect: Create a local jQuery variable to make jQuery Color work
Fixes #10199 Closes jquerygh-1282
1 parent bb29287 commit 2447cab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui/effect.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
}
2121
}(function( $ ) {
2222

23-
var dataSpace = "ui-effects-";
23+
var dataSpace = "ui-effects-",
24+
25+
// Create a local jQuery because jQuery Color relies on it and the
26+
// global may not exist with AMD and a custom build (#10199)
27+
jQuery = $;
2428

2529
$.effects = {
2630
effect: {}

0 commit comments

Comments
 (0)