aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.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/support.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/support.js')
-rw-r--r--src/support.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index cddd3dc3b..febff1597 100644
--- a/src/support.js
+++ b/src/support.js
@@ -1,3 +1,5 @@
+(function( jQuery ) {
+
(function() {
jQuery.support = {};
@@ -132,7 +134,7 @@
// release memory in IE
root = script = div = all = a = null;
-})();
+})( jQuery );
jQuery.props = {
"for": "htmlFor",
@@ -146,3 +148,5 @@ jQuery.props = {
usemap: "useMap",
frameborder: "frameBorder"
};
+
+})( jQuery );