mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update jquery-tests.ts
Fix spelling...
This commit is contained in:
@@ -6,7 +6,7 @@ function test_add() {
|
||||
|
||||
$('li').add('p').css('background-color', 'red');
|
||||
$('li').add(document.getElementsByTagName('p')[0])
|
||||
.css('background-color', 'red');
|
||||
.css('background-coailor', 'red');
|
||||
$('li').add('<p id="new">new paragraph</p>')
|
||||
.css('background-color', 'red');
|
||||
$("div").css("border", "2px solid red")
|
||||
@@ -88,7 +88,7 @@ function test_ajax() {
|
||||
alert('Load was performed.');
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
alert('Load ailed. responseJSON=' + jqXHR.responseJSON);
|
||||
alert('Load failed. responseJSON=' + jqXHR.responseJSON);
|
||||
}
|
||||
});
|
||||
var _super = jQuery.ajaxSettings.xhr;
|
||||
|
||||
Reference in New Issue
Block a user