mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Landing pull request 586. Create exports.js for exporting jQuery to window and AMD. Fixes #10687.
More Details: - https://github.com/jquery/jquery/pull/586 - http://bugs.jquery.com/ticket/10687
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
<script src="../src/effects.js"></script>
|
||||
<script src="../src/offset.js"></script>
|
||||
<script src="../src/dimensions.js"></script>
|
||||
<script src="../src/exports.js"></script>
|
||||
|
||||
<script src="data/versioncheck.js"></script>
|
||||
|
||||
@@ -51,6 +52,7 @@
|
||||
<script src="unit/effects.js"></script>
|
||||
<script src="unit/offset.js"></script>
|
||||
<script src="unit/dimensions.js"></script>
|
||||
<script src="unit/exports.js"></script>
|
||||
|
||||
<script>
|
||||
// html5shiv, enabling HTML5 elements to be used with jQuery
|
||||
|
||||
@@ -225,12 +225,6 @@ test("browser", function() {
|
||||
});
|
||||
}
|
||||
|
||||
test("amdModule", function() {
|
||||
expect(1);
|
||||
|
||||
equal( jQuery, amdDefined, "Make sure defined module matches jQuery" );
|
||||
});
|
||||
|
||||
test("noConflict", function() {
|
||||
expect(7);
|
||||
|
||||
@@ -534,7 +528,7 @@ test("isXMLDoc - HTML", function() {
|
||||
|
||||
test("XSS via location.hash", function() {
|
||||
expect(1);
|
||||
|
||||
|
||||
stop();
|
||||
jQuery._check9521 = function(x){
|
||||
ok( x, "script called from #id-like selector with inline handler" );
|
||||
|
||||
7
test/unit/exports.js
Normal file
7
test/unit/exports.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module("exports", { teardown: moduleTeardown });
|
||||
|
||||
test("amdModule", function() {
|
||||
expect(1);
|
||||
|
||||
equal( jQuery, amdDefined, "Make sure defined module matches jQuery" );
|
||||
});
|
||||
Reference in New Issue
Block a user