From: Ariel Flesler Date: Sun, 11 May 2008 20:59:24 +0000 (+0000) Subject: jquery core: declared undefined locally, to speed up references, and allow munging... X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=1762dc24d66c7cbda189acffc21694884bb2ec7a;hp=6aa4200a8cefa87bb4ec100c0b0369517e35ed6b;p=jquery.git jquery core: declared undefined locally, to speed up references, and allow munging all their names. --- diff --git a/src/core.js b/src/core.js index a6d4c5f..b9a2fed 100644 --- a/src/core.js +++ b/src/core.js @@ -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 ) {