WICKET-4635 Improve JavaScript files by applying common JSHint rules

Add wicket-websocket-jquery.js to the list of linted files.


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

Branch: refs/heads/sandbox/resourcefinder
Commit: 2a875737a98dcd4817a945160ff6d89eace01cda
Parents: 091e847
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Authored: Tue Jul 3 10:12:21 2012 +0200
Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Committed: Tue Jul 3 10:12:21 2012 +0200

----------------------------------------------------------------------
 grunt.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/2a875737/grunt.js
----------------------------------------------------------------------
diff --git a/grunt.js b/grunt.js
index 65a71b9..5ceb796 100644
--- a/grunt.js
+++ b/grunt.js
@@ -35,6 +35,9 @@ module.exports = function(grunt) {
                datetimeJs = [
                        
"wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js"
                ],
+               nativeWebSocketJs = [
+               
"wicket-experimental/wicket-native-websocket/wicket-native-websocket-core/src/main/java/org/apache/wicket/protocol/ws/api/res/js/wicket-websocket-jquery.js"
+               ],
                gruntJs = [
                        "grunt.js"
                ];
@@ -45,6 +48,7 @@ module.exports = function(grunt) {
                        core: coreJs,
                        extensions: extensionsJs,
                        datetime: datetimeJs,
+                       nativeWebSocket: nativeWebSocketJs,
                        grunt: gruntJs
                },
 

Reply via email to