From 486afef46d22034cb528274a707964ee4ecd78d6 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 12 May 2021 13:44:17 +0300 Subject: [PATCH] [all] debug deployment --- apps/documenteditor/mobile/src/controller/Main.jsx | 3 ++- apps/presentationeditor/mobile/src/controller/Main.jsx | 3 ++- apps/spreadsheeteditor/mobile/src/controller/Main.jsx | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index e7413085c..80a71b939 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -49,7 +49,8 @@ class MainController extends Component { initSdk() { const on_script_load = () => { - !window.sdk_scripts && (window.sdk_scripts = ['../../../../../../sdkjs/word/sdk-all-min.js']); + !window.sdk_scripts && (window.sdk_scripts = ['../../../../../../sdkjs/common/AllFonts.js', + '../../../../../../sdkjs/word/sdk-all-min.js']); let dep_scripts = ['../../../vendor/xregexp/xregexp-all-min.js', '../../../vendor/sockjs/sockjs.min.js', '../../../vendor/jszip/jszip.min.js', diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx index f366d1f82..a0e5ba1ca 100644 --- a/apps/presentationeditor/mobile/src/controller/Main.jsx +++ b/apps/presentationeditor/mobile/src/controller/Main.jsx @@ -47,7 +47,8 @@ class MainController extends Component { initSdk () { const on_script_load = () => { - !window.sdk_scripts && (window.sdk_scripts = ['../../../../../../sdkjs/slide/sdk-all-min.js']); + !window.sdk_scripts && (window.sdk_scripts = ['../../../../../../sdkjs/common/AllFonts.js', + '../../../../../../sdkjs/slide/sdk-all-min.js']); let dep_scripts = ['../../../vendor/xregexp/xregexp-all-min.js', '../../../vendor/sockjs/sockjs.min.js']; dep_scripts.push(...window.sdk_scripts); diff --git a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx index 11bbecf26..cb16563d4 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx @@ -49,7 +49,8 @@ class MainController extends Component { initSdk() { const on_load_scripts = () => { - !window.sdk_scripts && (window.sdk_scripts = ['../../../../../../sdkjs/cell/sdk-all-min.js']); + !window.sdk_scripts && (window.sdk_scripts = ['../../../../../../sdkjs/common/AllFonts.js', + '../../../../../../sdkjs/cell/sdk-all-min.js']); let dep_scripts = [ '../../../vendor/jquery/jquery.min.js', '../../../vendor/jquery.browser/dist/jquery.browser.min.js',