git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
You can now assign jQuery to random namespaces - very cool. (Bug #1393)
[jquery.git]
/
src
/
jquery
/
jquery.js
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
8089e4e
..
9eb8377
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-19,7
+19,7
@@
* @param jQuery|Element|Array<Element> c context
* @cat Core
*/
* @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);
// If the context is global, return a new object
if ( window == this || !this.init )
return new jQuery(a,c);