From cc172a862be468b9847a7bfd653b97cde53d2b64 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Mon, 15 Oct 2012 16:51:03 -0400 Subject: [PATCH] Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecated feature --- grunt.js | 2 +- test/unit/support.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/grunt.js b/grunt.js index 418eb5c76..2ddb3001c 100644 --- a/grunt.js +++ b/grunt.js @@ -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" ) {