From 1762dc24d66c7cbda189acffc21694884bb2ec7a Mon Sep 17 00:00:00 2001 From: Ariel Flesler Date: Sun, 11 May 2008 20:59:24 +0000 Subject: [PATCH] jquery core: declared undefined locally, to speed up references, and allow munging all their names. --- src/core.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ) { -- 1.7.10.4