diff options
author | John Resig <jeresig@gmail.com> | 2007-08-21 07:00:06 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-08-21 07:00:06 +0000 |
commit | c8bd6e0a4aef14ad4808a63fc106849918ea4666 (patch) | |
tree | 58cca8b20088d0710c0f7a94726c02cf1ab667c9 /src/jquery | |
parent | b6d920cf05fae3dcfe515166013ce39411ac5e16 (diff) | |
download | jquery-c8bd6e0a4aef14ad4808a63fc106849918ea4666.tar.gz jquery-c8bd6e0a4aef14ad4808a63fc106849918ea4666.zip |
You can now assign jQuery to random namespaces - very cool. (Bug #1393)
Diffstat (limited to 'src/jquery')
-rw-r--r-- | src/jquery/jquery.js | 2 |
1 files changed, 1 insertions, 1 deletions
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<Element> 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); |