]> source.dussan.org Git - jquery.git/commitdiff
Removed (hopefully) all references to $ within the jQuery code itself
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 6 Oct 2006 17:15:33 +0000 (17:15 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 6 Oct 2006 17:15:33 +0000 (17:15 +0000)
src/ajax/ajax.js
src/event/event.js
src/fx/fx.js
src/jquery/jquery.js

index 2c63605d72bf10f5be47720ef9941ea6439e3023..5aeb9439a551b704617e82bd7f754b23c586958a 100644 (file)
@@ -87,9 +87,9 @@ jQuery.fn.extend({
                                self.html(res.responseText).each( callback, [res.responseText, status] );
                                
                                // Execute all the scripts inside of the newly-injected HTML
-                               $("script", self).each(function(){
+                               jQuery("script", self).each(function(){
                                        if ( this.src )
-                                               $.getScript( this.src );
+                                               jQuery.getScript( this.src );
                                        else
                                                eval.call( window, this.text || this.textContent || this.innerHTML || "" );
                                });
@@ -124,7 +124,7 @@ jQuery.fn.extend({
         * @cat AJAX
         */
        serialize: function() {
-               return $.param( this );
+               return jQuery.param( this );
        }
        
 });
index 81c62d83b13339aa64ba60f095895557e28ac7c4..471c8cb3981c62d5b06d1fba7210a37730fe6261 100644 (file)
@@ -1658,7 +1658,7 @@ new function(){
 };\r
 \r
 // Clean up after IE to avoid memory leaks\r
-if ($.browser.msie) $(window).unload(function() {\r
+if (jQuery.browser.msie) jQuery(window).unload(function() {\r
        var event = jQuery.event, global = event.global;\r
        for (var type in global) {\r
                var els = global[type], i = els.length;\r
index 64706685b19618b4fb79d7af490a91ab364107c1..1dfd31e5f2804029b44f63af2f7d7cf03f083d11 100644 (file)
@@ -173,8 +173,8 @@ jQuery.fn.extend({
         */\r
        slideToggle: function(speed,callback){\r
                return this.each(function(){\r
-                       var state = $(this).is(":hidden") ? "show" : "hide";\r
-                       $(this).animate({height: state}, speed, callback);\r
+                       var state = jQuery(this).is(":hidden") ? "show" : "hide";\r
+                       jQuery(this).animate({height: state}, speed, callback);\r
                });\r
        },\r
        \r
index 5446ed2ce11952f350dd78645c14ca8c2222c2a0..12b342cb8979b9eef9df0138b0f6e034054df908 100644 (file)
@@ -1384,10 +1384,6 @@ jQuery.extend({
                        o.className += ( o.className ? " " : "" ) + c;\r
                },\r
                remove: function(o,c){\r
-                       /*\r
-                       o.className = !c ? "" :\r
-                               o.className.replace(\r
-                                       new RegExp("(^|\\s*\\b[^-])"+c+"($|\\b(?=[^-]))", "g"), "");*/\r
                        if( !c ) {\r
                                o.className = "";\r
                        } else {\r
@@ -1497,7 +1493,7 @@ jQuery.extend({
                for ( var i = 0; i < a.length; i++ ) {\r
                        if ( a[i].constructor == String ) {\r
                                // trim whitespace, otherwise indexOf won't work as expected\r
-                               a[i] = $.trim(a[i]);\r
+                               a[i] = jQuery.trim(a[i]);\r
                                \r
                                var table = "";\r
 \r
@@ -1837,7 +1833,7 @@ jQuery.extend({
                if ( fix[name] ) {\r
                        if ( value != undefined ) elem[fix[name]] = value;\r
                        return elem[fix[name]];\r
-               } else if( value == undefined && $.browser.msie && elem.nodeName && elem.nodeName.toUpperCase() == 'FORM' && (name == 'action' || name == 'method') ) {\r
+               } else if( value == undefined && jQuery.browser.msie && elem.nodeName && elem.nodeName.toUpperCase() == 'FORM' && (name == 'action' || name == 'method') ) {\r
                        return elem.getAttributeNode(name).nodeValue;\r
                } else if ( elem.getAttribute != undefined ) {\r
                        if ( value != undefined ) elem.setAttribute( name, value );\r