aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2012-10-15 16:51:03 -0400
committerTimmy Willison <timmywillisn@gmail.com>2012-10-15 16:51:16 -0400
commitcc172a862be468b9847a7bfd653b97cde53d2b64 (patch)
treedb9349be38048ae8dcb6cba2083719372fe27984
parentadd850303690edbb0dea891585e2bb2aa826990c (diff)
downloadjquery-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.js2
-rw-r--r--test/unit/support.js3
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" ) {