mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecated feature
This commit is contained in:
parent
add8503036
commit
cc172a862b
2
grunt.js
2
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"
|
||||
|
@ -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" ) {
|
||||
|
Loading…
Reference in New Issue
Block a user