From 0ce9c6ebb625637ff9403a1a1098d2b8e25d9428 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Thu, 20 Feb 2014 16:06:35 +0100 Subject: [PATCH] Add web-socket-js as project dependency --- Gruntfile.js | 11 +++++++++++ bower.json | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 5327fcbb70..1f8934556c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -286,6 +286,16 @@ module.exports = function(grunt) { "dest": "<%= path.asset %>/underscore-amd/", "flatten": true }, + "web-socket-js": { + "expand": true, + "src": [ + "<%= path.bower %>/web-socket-js/LICENSE.txt", + "<%= path.bower %>/web-socket-js/WebSocketMain.swf", + "<%= path.bower %>/web-socket-js/web_socket.js" + ], + "dest": "<%= path.asset %>/web-socket-js", + "flatten": true + }, "zxcvbn": { "expand": true, "src": [ @@ -385,6 +395,7 @@ module.exports = function(grunt) { "copy:swfobject", "copy:tinymce", "copy:underscore", + "copy:web-socket-js", "copy:zxcvbn" ]); grunt.registerTask("install-assets", [ diff --git a/bower.json b/bower.json index f399a99fa3..0214a9a5ef 100644 --- a/bower.json +++ b/bower.json @@ -25,7 +25,8 @@ "jquery-galleria": "1.2.9", "jquery.cookie": "~1.4", "autobahnjs": "~0.8.0", - "when": "~2.7.0" + "when": "~2.7.0", + "web-socket-js": "~1.0.1" }, "devDependencies": { "mocha": "latest",