From c8bd6e0a4aef14ad4808a63fc106849918ea4666 Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 21 Aug 2007 07:00:06 +0000 Subject: You can now assign jQuery to random namespaces - very cool. (Bug #1393) --- src/jquery/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jquery') diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 8089e4e6b..9eb8377e1 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -19,7 +19,7 @@ * @param jQuery|Element|Array c context * @cat Core */ -window.jQuery = function(a,c) { +var jQuery = window.jQuery = function(a,c) { // If the context is global, return a new object if ( window == this || !this.init ) return new jQuery(a,c); -- cgit v1.2.3