diff options
author | jeresig <jeresig@gmail.com> | 2010-09-08 12:00:29 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-09-08 12:00:29 -0400 |
commit | a44ec402771f6d622506f39073d0be260400dd21 (patch) | |
tree | 0f9c5ad37ea56d5366ae6c5f15c420c490ac8ad5 /src/dimensions.js | |
parent | b920f0aeb483f4565ff2f3c1d2a328d5200b23f7 (diff) | |
download | jquery-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/dimensions.js')
-rw-r--r-- | src/dimensions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dimensions.js b/src/dimensions.js index 52fd0f86d..58c16af8d 100644 --- a/src/dimensions.js +++ b/src/dimensions.js @@ -1,3 +1,5 @@ +(function( jQuery ) { + // Create innerHeight, innerWidth, outerHeight and outerWidth methods jQuery.each([ "Height", "Width" ], function( i, name ) { @@ -55,3 +57,5 @@ jQuery.each([ "Height", "Width" ], function( i, name ) { }; }); + +})( jQuery ); |