git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6991fa
)
Moved exposing window.jQuery and window.$ to the end of the jQuery file (helps some...
author
John Resig
<jeresig@gmail.com>
Mon, 10 Aug 2009 21:22:31 +0000
(21:22 +0000)
committer
John Resig
<jeresig@gmail.com>
Mon, 10 Aug 2009 21:22:31 +0000
(21:22 +0000)
src/core.js
patch
|
blob
|
history
src/outro.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
35cac37
..
890e9a2
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-39,9
+39,6
@@
var jQuery = function( selector, context ) {
push = Array.prototype.push,
slice = Array.prototype.slice;
-// Expose jQuery to the global object
-window.jQuery = window.$ = jQuery;
-
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
var match, elem, ret;
diff --git
a/src/outro.js
b/src/outro.js
index
7773a74
..
5d87b7e
100644
(file)
--- a/
src/outro.js
+++ b/
src/outro.js
@@
-1
+1,4
@@
+// Expose jQuery to the global object
+window.jQuery = window.$ = jQuery;
+
})(window);