Repository: wicket
Updated Branches:
  refs/heads/wicket-6.x f13985d56 -> f66d4b810


Fix JSHint issues in the JS unit test


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/f66d4b81
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/f66d4b81
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/f66d4b81

Branch: refs/heads/wicket-6.x
Commit: f66d4b810177662ba93197bcc021ee0e3e90edb7
Parents: f13985d
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:26 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/f66d4b81/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 5cc6571..fecde0f 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');

Reply via email to