Skip to content

Commit

Permalink
Add missing semicolons to the UI callback tests.
Browse files Browse the repository at this point in the history
Correctly name the "destroyed" callback test.
  • Loading branch information
blueimp committed Feb 13, 2012
1 parent ac6b864 commit 8354f73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ $(function () {
send: function () {
return false;
}
}).fileupload('add', param)
}).fileupload('add', param);
});

asyncTest('started', function () {
Expand All @@ -953,7 +953,7 @@ $(function () {
sent: function (e, data) {
return false;
}
}).fileupload('send', param)
}).fileupload('send', param);
});

asyncTest('sent', function () {
Expand All @@ -969,7 +969,7 @@ $(function () {
);
return false;
}
}).fileupload('send', param)
}).fileupload('send', param);
});

asyncTest('completed', function () {
Expand All @@ -981,7 +981,7 @@ $(function () {
ok('Triggers completed callback');
return false;
}
}).fileupload('send', param)
}).fileupload('send', param);
});

asyncTest('failed', function () {
Expand All @@ -1005,10 +1005,10 @@ $(function () {
ok('Triggers stopped callback');
return false;
}
}).fileupload('send', param)
}).fileupload('send', param);
});

asyncTest('destroy', function () {
asyncTest('destroyed', function () {
expect(1);
$('#fileupload').fileupload({
destroyed: function (e, data) {
Expand Down

0 comments on commit 8354f73

Please sign in to comment.