You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/06/21 15:50:24 UTC

[05/20] git commit: Fix jshint warnings

Fix jshint warnings


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

Branch: refs/heads/master
Commit: b59bb769871633de82c45a74892d1077a41e5e86
Parents: 44a4132
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Fri Jun 21 09:53:10 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Fri Jun 21 15:47:38 2013 +0200

----------------------------------------------------------------------
 Gruntfile.js                     | 15 +++++++--------
 wicket-core/src/test/js/event.js |  4 +++-
 2 files changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/b59bb769/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index f3877ae..127d429 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -6,7 +6,6 @@
  * 1) install node.js - http://nodejs.org/#download. This will install 'npm' (Node Package Manager) too
  * 2) install grunt - 'npm -g install grunt-cli'
  * 3) run: npm install (This will use package.json and install all dependencies)
- * 4) use it: 
  * 4.1) grunt jshint - checks all JavaScript files with JSHint
  * 4.2) grunt jshint:core - checks only the files in wicket-core
  * 4.3) grunt test - starts a web server and runs all tests (Ajax, non-Ajax and AMD)
@@ -118,13 +117,13 @@ module.exports = function(grunt) {
 		},
 
 		connect: {
-    		server: {
-      			options: {
-        			port: 38888,
-        			base: './wicket-core/src'
-      			}
-    		}
-  		}
+			server: {
+				options: {
+					port: 38888,
+					base: './wicket-core/src'
+				}
+			}
+		}
 	});
 
 	grunt.loadNpmTasks('grunt-contrib-qunit');

http://git-wip-us.apache.org/repos/asf/wicket/blob/b59bb769/wicket-core/src/test/js/event.js
----------------------------------------------------------------------
diff --git a/wicket-core/src/test/js/event.js b/wicket-core/src/test/js/event.js
index 84b9a74..cae6d94 100644
--- a/wicket-core/src/test/js/event.js
+++ b/wicket-core/src/test/js/event.js
@@ -16,7 +16,7 @@
  */
 
 /*global ok: true, start: true, test: true, equal: true, deepEqual: true,
- QUnit: true, module: true, expect: true */
+ QUnit: true, module: true, expect: true, stop: true */
 
 jQuery(document).ready(function() {
 	"use strict";
@@ -237,7 +237,9 @@ jQuery(document).ready(function() {
 	module("Custom events");
 
 	test('inputchange', function() {
+
 		stop();
+
 		if (Wicket.Browser.isIE()) {
 			expect(3);
 		} else {