From 4400c9bfa8045e378af1773e3e079de8f019d024 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 5 Feb 2019 11:40:48 +0200 Subject: [PATCH] autobahn js minify --- Gruntfile.js | 1 + application/Espo/Resources/metadata/app/client.json | 1 + client/src/web-socket-manager.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 7c657beb6f..1a9b016991 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -37,6 +37,7 @@ module.exports = function (grunt) { 'client/lib/bootstrap-datepicker.js', 'client/lib/bull.js', 'client/lib/marked.min.js', + 'client/lib/autobahn.js', 'client/src/namespace.js', 'client/src/exceptions.js', diff --git a/application/Espo/Resources/metadata/app/client.json b/application/Espo/Resources/metadata/app/client.json index 54777e8945..dd731876f2 100644 --- a/application/Espo/Resources/metadata/app/client.json +++ b/application/Espo/Resources/metadata/app/client.json @@ -19,6 +19,7 @@ "client/lib/bootstrap-datepicker.js", "client/lib/bull.js", "client/lib/marked.min.js", + "client/lib/autobahn.js", "client/src/loader.js", "client/src/utils.js", "client/src/exceptions.js" diff --git a/client/src/web-socket-manager.js b/client/src/web-socket-manager.js index c579af2c94..35f075b59a 100644 --- a/client/src/web-socket-manager.js +++ b/client/src/web-socket-manager.js @@ -26,7 +26,7 @@ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ -define('web-socket-manager', ['lib!client/lib/autobahn.js'], function () { +define('web-socket-manager', [], function () { var WebSocketManager = function (config) { this.config = config;