mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Added missing commas.
This commit is contained in:
parent
1ca82ccd94
commit
368f2441f6
@ -135,7 +135,7 @@ test("jQuery.ajax() - success callbacks (oncomplete binding)", function() {
|
|||||||
.error(function(){ ok(false, "error"); })
|
.error(function(){ ok(false, "error"); })
|
||||||
.complete(function(){ start(); });
|
.complete(function(){ start(); });
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}, 13);
|
}, 13);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -173,7 +173,7 @@ test("jQuery.ajax() - success callbacks (very late binding)", function() {
|
|||||||
.complete(function(){ start(); });
|
.complete(function(){ start(); });
|
||||||
},100);
|
},100);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}, 13);
|
}, 13);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -438,7 +438,7 @@ test("jQuery.ajax context modification", function() {
|
|||||||
|
|
||||||
stop();
|
stop();
|
||||||
|
|
||||||
var obj = {}
|
var obj = {};
|
||||||
|
|
||||||
jQuery.ajax({
|
jQuery.ajax({
|
||||||
url: url("data/name.html"),
|
url: url("data/name.html"),
|
||||||
@ -1522,7 +1522,7 @@ test("data option: evaluate function values (#2806)", function() {
|
|||||||
equals( result, "key=value" );
|
equals( result, "key=value" );
|
||||||
start();
|
start();
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
test("data option: empty bodies for non-GET requests", function() {
|
test("data option: empty bodies for non-GET requests", function() {
|
||||||
@ -1535,7 +1535,7 @@ test("data option: empty bodies for non-GET requests", function() {
|
|||||||
equals( result, "" );
|
equals( result, "" );
|
||||||
start();
|
start();
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
test("jQuery.ajax - If-Modified-Since support", function() {
|
test("jQuery.ajax - If-Modified-Since support", function() {
|
||||||
@ -1560,7 +1560,7 @@ test("jQuery.ajax - If-Modified-Since support", function() {
|
|||||||
ok(true, "Opera is incapable of doing .setRequestHeader('If-Modified-Since').");
|
ok(true, "Opera is incapable of doing .setRequestHeader('If-Modified-Since').");
|
||||||
} else {
|
} else {
|
||||||
equals(status, "notmodified");
|
equals(status, "notmodified");
|
||||||
ok(data == null, "response body should be empty")
|
ok(data == null, "response body should be empty");
|
||||||
}
|
}
|
||||||
start();
|
start();
|
||||||
},
|
},
|
||||||
@ -1607,7 +1607,7 @@ test("jQuery.ajax - Etag support", function() {
|
|||||||
ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Match').");
|
ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Match').");
|
||||||
} else {
|
} else {
|
||||||
equals(status, "notmodified");
|
equals(status, "notmodified");
|
||||||
ok(data == null, "response body should be empty")
|
ok(data == null, "response body should be empty");
|
||||||
}
|
}
|
||||||
start();
|
start();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user