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-Tag: 1.2.4b~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1762dc24d66c7cbda189acffc21694884bb2ec7a;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 a6d4c5f74..b9a2fed49 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 ) {