From b063859f1381cd82bc656772b475eb459f4e8e48 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Sat, 15 Jan 2011 13:41:49 -0500 Subject: [PATCH] src : use just one `function( $, undefined )` wrapper --- jquery.isotope.js | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/jquery.isotope.js b/jquery.isotope.js index 6970dfc..168f33c 100644 --- a/jquery.isotope.js +++ b/jquery.isotope.js @@ -143,8 +143,9 @@ window.Modernizr = window.Modernizr || (function(window,doc,undefined){ // ========================= jQuery transform extensions =============================== -(function($){ +// jQuery +(function( $, undefined ){ $.optoTransform = { @@ -265,8 +266,6 @@ window.Modernizr = window.Modernizr || (function(window,doc,undefined){ } -})( jQuery ); - /*! @@ -278,7 +277,6 @@ window.Modernizr = window.Modernizr || (function(window,doc,undefined){ * http://docs.jquery.com/License * */ -(function($){ var $event = $.event, resizeTimeout; @@ -309,15 +307,13 @@ window.Modernizr = window.Modernizr || (function(window,doc,undefined){ return fn ? this.bind( "smartresize", fn ) : this.trigger( "smartresize", ["execAsap"] ); }; -})( jQuery ); - /************************************************* ** jQuery Isotope version 0.1 ** Copyright David DeSandro **************************************************/ -(function( $, undefined ) { + // our "Widget" object constructor $.Isotope = function( options, element ){ @@ -1232,10 +1228,6 @@ window.Modernizr = window.Modernizr || (function(window,doc,undefined){ }; - - - -})( jQuery ); @@ -1248,7 +1240,6 @@ window.Modernizr = window.Modernizr || (function(window,doc,undefined){ * * http://docs.jquery.com/UI/Widget */ -(function( $, undefined ) { $.widget = $.widget || {};