aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-08 12:00:29 -0400
committerjeresig <jeresig@gmail.com>2010-09-08 12:00:29 -0400
commita44ec402771f6d622506f39073d0be260400dd21 (patch)
tree0f9c5ad37ea56d5366ae6c5f15c420c490ac8ad5 /src/effects.js
parentb920f0aeb483f4565ff2f3c1d2a328d5200b23f7 (diff)
downloadjquery-a44ec402771f6d622506f39073d0be260400dd21.tar.gz
jquery-a44ec402771f6d622506f39073d0be260400dd21.zip
Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.
Diffstat (limited to 'src/effects.js')
-rw-r--r--src/effects.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/effects.js b/src/effects.js
index d31e2e354..130b676f4 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -1,3 +1,5 @@
+(function( jQuery ) {
+
var elemdisplay = {},
rfxtypes = /toggle|show|hide/,
rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/,
@@ -480,3 +482,5 @@ if ( jQuery.expr && jQuery.expr.filters ) {
}).length;
};
}
+
+})( jQuery );