Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecated feature

This commit is contained in:
Timmy Willison 2012-10-15 16:51:03 -04:00
parent add8503036
commit cc172a862b
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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" ) {