Repository: wicket Updated Branches: refs/heads/master e4c1438d2 -> 5e49b1669
Fix JSHint issues in the JS unit test (cherry picked from commit f66d4b810177662ba93197bcc021ee0e3e90edb7) Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/5e49b166 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/5e49b166 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/5e49b166 Branch: refs/heads/master Commit: 5e49b16697dd9ad7997a58c5941c7070d9cd5d1d Parents: e4c1438 Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Tue Aug 11 14:53:26 2015 +0300 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Tue Aug 11 14:53:50 2015 +0300 ---------------------------------------------------------------------- wicket-core/src/test/js/ajax.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/5e49b166/wicket-core/src/test/js/ajax.js ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/js/ajax.js b/wicket-core/src/test/js/ajax.js index 44a08bd..781222a 100644 --- a/wicket-core/src/test/js/ajax.js +++ b/wicket-core/src/test/js/ajax.js @@ -334,8 +334,8 @@ jQuery(document).ready(function() { e: 'event1', dt: 'json', // datatype wr: false, // not Wicket's <ajax-response> - ih: [function() {ok('Init handler should be called')}], - dh: [function() {ok('Done handler should be called')}], + ih: [function() {ok('Init handler should be called');}], + dh: [function() {ok('Done handler should be called');}], sh: [ function(attributes, jqXHR, data, textStatus) { start(); @@ -392,8 +392,8 @@ jQuery(document).ready(function() { e: 'event1', dt: 'json', // datatype wr: false, // not Wicket's <ajax-response> - ih: [function() {ok('Init handler should be called')}], - dh: [function() {ok('Done handler should be called')}], + ih: [function() {ok('Init handler should be called');}], + dh: [function() {ok('Done handler should be called');}], sh: [ function(attributes, jqXHR, data, textStatus) { ok(false, 'Should not be called');
