diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2012-10-15 16:51:03 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2012-10-15 16:51:16 -0400 |
commit | cc172a862be468b9847a7bfd653b97cde53d2b64 (patch) | |
tree | db9349be38048ae8dcb6cba2083719372fe27984 | |
parent | add850303690edbb0dea891585e2bb2aa826990c (diff) | |
download | jquery-cc172a862be468b9847a7bfd653b97cde53d2b64.tar.gz jquery-cc172a862be468b9847a7bfd653b97cde53d2b64.zip |
Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecated feature
-rw-r--r-- | grunt.js | 2 | ||||
-rw-r--r-- | test/unit/support.js | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -68,7 +68,6 @@ module.exports = function( grunt ) { "src/traversing.js", "src/manipulation.js", - { flag: "deprecated", src: "src/deprecated.js" }, { flag: "css", src: "src/css.js" }, "src/serialize.js", { flag: "ajax", src: "src/ajax.js" }, @@ -78,6 +77,7 @@ module.exports = function( grunt ) { { flag: "effects", src: "src/effects.js", needs: ["css"] }, { flag: "offset", src: "src/offset.js", needs: ["css"] }, { flag: "dimensions", src: "src/dimensions.js", needs: ["css"] }, + { flag: "deprecated", src: "src/deprecated.js" }, "src/exports.js", "src/outro.js" diff --git a/test/unit/support.js b/test/unit/support.js index 05ac16ac5..57378a021 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -247,8 +247,7 @@ testIframeWithCallback( "A background on the testElement does not cause IE8 to c if ( expected ) { test("Verify that the support tests resolve as expected per browser", function() { - - expect( 30 ); + expect( 30 ); for ( var i in expected ) { if ( jQuery.ajax || i !== "ajax" && i !== "cors" ) { |