Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.

This commit is contained in:
jeresig 2010-09-08 12:00:29 -04:00
parent b920f0aeb4
commit a44ec40277
13 changed files with 52 additions and 3 deletions

View file

@ -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 );