]> source.dussan.org Git - jquery.git/commitdiff
Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecat...
authorTimmy Willison <timmywillisn@gmail.com>
Mon, 15 Oct 2012 20:51:03 +0000 (16:51 -0400)
committerTimmy Willison <timmywillisn@gmail.com>
Mon, 15 Oct 2012 20:51:16 +0000 (16:51 -0400)
grunt.js
test/unit/support.js

index 418eb5c766a9d2f5bb9d56f9d4567507ce52f12d..2ddb3001ce48ca93e005e9e7e8de201e43e35805 100644 (file)
--- 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"
index 05ac16ac5d8ed873a04c0646970146529c5078a3..57378a02132249ebf584f6ce4b3b4237a7214f0d 100644 (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" ) {