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 2014/02/17 16:41:35 UTC

git commit: Add all Gym tests as targets to Grunt's JSHint task

Repository: wicket
Updated Branches:
  refs/heads/master af2353943 -> 32a665d7b


Add all Gym tests as targets to Grunt's JSHint task


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

Branch: refs/heads/master
Commit: 32a665d7b6b5422be5fc5bd6ae4cfb6ed146bfd2
Parents: af23539
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Feb 17 17:40:48 2014 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Feb 17 17:40:48 2014 +0200

----------------------------------------------------------------------
 Gruntfile.js                                             | 11 +++++++++++
 .../src/main/webapp/js-test/tests/ajax/form.js           |  3 +++
 .../webapp/js-test/tests/bean-validation/birthdate.js    |  5 ++++-
 .../main/webapp/js-test/tests/bean-validation/email.js   |  3 +++
 .../main/webapp/js-test/tests/bean-validation/name.js    |  3 +++
 .../main/webapp/js-test/tests/bean-validation/phone.js   |  3 +++
 .../main/webapp/js-test/tests/cdi/auto-conversation.js   |  3 +++
 .../src/main/webapp/js-test/tests/cdi/conversation.js    |  5 ++++-
 .../src/main/webapp/js-test/tests/cdi/injection.js       |  5 ++++-
 wicket-examples/src/main/webapp/js-test/tests/echo.js    |  3 +++
 .../src/main/webapp/js-test/tests/forminput.js           |  3 +++
 .../src/main/webapp/js-test/tests/helloworld.js          |  3 +++
 12 files changed, 47 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index 0459f6c..c7fdbb0 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -53,6 +53,17 @@ module.exports = function(grunt) {
 			"./wicket-core/src/test/js/amd.js"
 		],
 		gymTestsJs = [
+			"wicket-examples/src/main/webapp/js-test/tests/ajax/form.js",
+			"wicket-examples/src/main/webapp/js-test/tests/bean-validation/birthdate.js",
+			"wicket-examples/src/main/webapp/js-test/tests/bean-validation/email.js",
+			"wicket-examples/src/main/webapp/js-test/tests/bean-validation/name.js",
+			"wicket-examples/src/main/webapp/js-test/tests/bean-validation/phone.js",
+			"wicket-examples/src/main/webapp/js-test/tests/cdi/auto-conversation.js",
+			"wicket-examples/src/main/webapp/js-test/tests/cdi/conversation.js",
+			"wicket-examples/src/main/webapp/js-test/tests/cdi/injection.js",
+			"wicket-examples/src/main/webapp/js-test/tests/echo.js",
+			"wicket-examples/src/main/webapp/js-test/tests/forminput.js",
+			"wicket-examples/src/main/webapp/js-test/tests/helloworld.js",
 			"wicket-examples/src/main/webapp/js-test/tests/mailtemplate.js"
 		],
 		gruntJs = [

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/ajax/form.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/ajax/form.js b/wicket-examples/src/main/webapp/js-test/tests/ajax/form.js
index eb348b1..7c3059f 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/ajax/form.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/ajax/form.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/bean-validation/birthdate.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/birthdate.js b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/birthdate.js
index c442aa6..b8644a2 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/birthdate.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/birthdate.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 
@@ -72,4 +75,4 @@ $q(document).ready(function() {
 
 			}).always(start);
 	});
-});
\ No newline at end of file
+});

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/bean-validation/email.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/email.js b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/email.js
index 5f588e5..2f73ab0 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/email.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/email.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/bean-validation/name.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/name.js b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/name.js
index dd634ac..ee9eb0d 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/name.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/name.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/bean-validation/phone.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/phone.js b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/phone.js
index 840c141..70f82e0 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/bean-validation/phone.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/bean-validation/phone.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/cdi/auto-conversation.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/cdi/auto-conversation.js b/wicket-examples/src/main/webapp/js-test/tests/cdi/auto-conversation.js
index e391d92..271fdf2 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/cdi/auto-conversation.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/cdi/auto-conversation.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/cdi/conversation.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/cdi/conversation.js b/wicket-examples/src/main/webapp/js-test/tests/cdi/conversation.js
index 764824e..0aa080f 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/cdi/conversation.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/cdi/conversation.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 
@@ -69,4 +72,4 @@ $q(document).ready(function() {
 		}).always(start);
 	});
 
-});
\ No newline at end of file
+});

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/cdi/injection.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/cdi/injection.js b/wicket-examples/src/main/webapp/js-test/tests/cdi/injection.js
index 1a6fbb6..21839a9 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/cdi/injection.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/cdi/injection.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 
@@ -52,4 +55,4 @@ $q(document).ready(function() {
 
 		}).always(start);
 	});
-});
\ No newline at end of file
+});

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/echo.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/echo.js b/wicket-examples/src/main/webapp/js-test/tests/echo.js
index 2264f55..77fe1a0 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/echo.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/echo.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/forminput.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/forminput.js b/wicket-examples/src/main/webapp/js-test/tests/forminput.js
index df27b7b..e6b17e6 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/forminput.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/forminput.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";
 

http://git-wip-us.apache.org/repos/asf/wicket/blob/32a665d7/wicket-examples/src/main/webapp/js-test/tests/helloworld.js
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/js-test/tests/helloworld.js b/wicket-examples/src/main/webapp/js-test/tests/helloworld.js
index 56c5933..db9873e 100644
--- a/wicket-examples/src/main/webapp/js-test/tests/helloworld.js
+++ b/wicket-examples/src/main/webapp/js-test/tests/helloworld.js
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+/*global module: true, ok: true, asyncTest: true, equal: true, expect: true, $q: true,
+ gym: true, start: true */
+
 $q(document).ready(function() {
 	"use strict";