aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hazel <ghazel@gmail.com>2011-06-14 15:51:03 -0400
committertimmywil <tim.willison@thisismedium.com>2011-06-14 15:51:03 -0400
commit13ceb0f56b380b395ed5a26b468bf2bf00d88216 (patch)
treeb23a1aa444b0031ea442ed7eee7c0a2f2b958ef4
parent6926247bf441deaa0441872849bb3786c257a4cf (diff)
downloadjquery-13ceb0f56b380b395ed5a26b468bf2bf00d88216.tar.gz
jquery-13ceb0f56b380b395ed5a26b468bf2bf00d88216.zip
Landing pull request 410. Moves jQuery attachment comment to outro.
More Details: - https://github.com/jquery/jquery/pull/410
-rw-r--r--src/core.js1
-rw-r--r--src/outro.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 3a32d6f0c..2c27bf7cc 100644
--- a/src/core.js
+++ b/src/core.js
@@ -923,7 +923,6 @@ function doScrollCheck() {
jQuery.ready();
}
-// Expose jQuery to the global object
return jQuery;
})();
diff --git a/src/outro.js b/src/outro.js
index 32b0d0878..b49305e72 100644
--- a/src/outro.js
+++ b/src/outro.js
@@ -1,2 +1,3 @@
+// Expose jQuery to the global object
window.jQuery = window.$ = jQuery;
})(window);