git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that jQuery is being exposed outside of core (this will be stripped during...
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
65d32a3
..
d6ef236
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-1,4
+1,4
@@
-(function() {
+var jQuery = (function() {
// Define a local copy of jQuery
var jQuery = function( selector, context ) {
@@
-826,6
+826,6
@@
function doScrollCheck() {
}
// Expose jQuery to the global object
-window.jQuery = window.$ = jQuery;
+return window.jQuery = window.$ = jQuery;
})();