jquery core: declared undefined locally, to speed up references, and allow munging...
authorAriel Flesler <aflesler@gmail.com>
Sun, 11 May 2008 20:59:24 +0000 (20:59 +0000)
committerAriel Flesler <aflesler@gmail.com>
Sun, 11 May 2008 20:59:24 +0000 (20:59 +0000)
src/core.js

index a6d4c5f..b9a2fed 100644 (file)
@@ -24,7 +24,10 @@ var jQuery = window.jQuery = window.$ = function( selector, context ) {
 var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,
 
 // Is it a simple selector
-       isSimple = /^.[^:#\[\.]*$/;
+       isSimple = /^.[^:#\[\.]*$/,
+
+// Will speed up references to undefined, and allows munging its name. 
+       undefined;
 
 jQuery.fn = jQuery.prototype = {
        init: function( selector, context ) {