Make sure that jQuery works even when the individual modules are loaded separately...
[jquery.git] / src / dimensions.js
index 52fd0f8..58c16af 100644 (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 );