diff --git a/apps/api/documents/cache-scripts.html b/apps/api/documents/cache-scripts.html index b2e36f3b89..5d69bba640 100644 --- a/apps/api/documents/cache-scripts.html +++ b/apps/api/documents/cache-scripts.html @@ -18,7 +18,6 @@
diff --git a/apps/documenteditor/embed/js/ApplicationController.js b/apps/documenteditor/embed/js/ApplicationController.js index 426f0d99ba..efedb522cd 100644 --- a/apps/documenteditor/embed/js/ApplicationController.js +++ b/apps/documenteditor/embed/js/ApplicationController.js @@ -708,7 +708,6 @@ var ApplicationController = new(function(){ if (api){ api.CreateComponents(); - api.asc_SetFontsPath("../../../../sdkjs/fonts/"); api.Init(); api.asc_registerCallback('asc_onError', onError); diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 2726344c2d..3c50595391 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -122,7 +122,6 @@ define([ window["flat_desine"] = true; this.api.CreateComponents(); - this.api.asc_SetFontsPath("../../../../sdkjs/fonts/"); this.api.Init(); this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this)); diff --git a/apps/documenteditor/mobile/app/controller/Main.js b/apps/documenteditor/mobile/app/controller/Main.js index 8ee4e6b6f6..81a28957b8 100644 --- a/apps/documenteditor/mobile/app/controller/Main.js +++ b/apps/documenteditor/mobile/app/controller/Main.js @@ -61,7 +61,6 @@ Ext.define('DE.controller.Main', { api = new Asc.asc_docs_api("id-sdkeditor"); api.SetMobileVersion(true); api.CreateComponents(); - api.asc_SetFontsPath("../../../../sdkjs/fonts/"); api.Init(); api.initEvents2MobileAdvances(); diff --git a/apps/presentationeditor/embed/js/ApplicationController.js b/apps/presentationeditor/embed/js/ApplicationController.js index ed3273322d..12ad00a253 100644 --- a/apps/presentationeditor/embed/js/ApplicationController.js +++ b/apps/presentationeditor/embed/js/ApplicationController.js @@ -716,7 +716,6 @@ var ApplicationController = new(function(){ if (api){ api.CreateComponents(); - api.asc_SetFontsPath("../../../../sdkjs/fonts/"); api.SetThemesPath("../../../../sdkjs/slide/themes/"); api.Init(); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 9c73e37300..62d1de9f9b 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -112,7 +112,6 @@ define([ this.api.CreateComponents(); this.api.SetDrawingFreeze(true); - this.api.asc_SetFontsPath("../../../../sdkjs/fonts/"); this.api.SetThemesPath("../../../../sdkjs/slide/themes/"); this.api.Init(); diff --git a/apps/presentationeditor/mobile/app/controller/Main.js b/apps/presentationeditor/mobile/app/controller/Main.js index ba5b871e7a..146c102994 100644 --- a/apps/presentationeditor/mobile/app/controller/Main.js +++ b/apps/presentationeditor/mobile/app/controller/Main.js @@ -63,7 +63,6 @@ Ext.define('PE.controller.Main', { api = new Asc.asc_docs_api("id-sdkeditor"); api.SetMobileVersion(true); api.CreateComponents(); - api.asc_SetFontsPath("../../../../sdkjs/fonts/"); api.SetThemesPath("../../../../sdkjs/slide/themes/"); api.Init(); api.initEvents2MobileAdvances(); diff --git a/apps/spreadsheeteditor/embed/js/ApplicationController.js b/apps/spreadsheeteditor/embed/js/ApplicationController.js index 79d7252c0e..55aa046d7b 100644 --- a/apps/spreadsheeteditor/embed/js/ApplicationController.js +++ b/apps/spreadsheeteditor/embed/js/ApplicationController.js @@ -691,8 +691,6 @@ var ApplicationController = new(function(){ api = new Asc.spreadsheet_api("editor_sdk"); if (api){ - api.asc_SetFontsPath("../../../../sdkjs/fonts/"); - api.asc_registerCallback('asc_onStartAction', onLongActionBegin); api.asc_registerCallback('asc_onEndAction', onLongActionEnd); api.asc_registerCallback('asc_onError', onError); diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 657037567d..a37b0b60a0 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -113,7 +113,6 @@ define([ // Initialize api this.api = new Asc.spreadsheet_api("editor_sdk", "ce-cell-content"); this.api.asc_setFontRenderingMode(parseInt(value)); - this.api.asc_SetFontsPath("../../../../sdkjs/fonts/"); this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this)); this.api.asc_registerCallback('asc_onEndAction', _.bind(this.onLongActionEnd, this)); diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index 034ee48175..8acb394f75 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -65,7 +65,6 @@ Ext.define('SSE.controller.Main', { // Initialize api this.api = new Asc.spreadsheet_api("id-sdkeditor", "", SSE.controller.ApiEvents, {}, {}); - this.api.asc_SetFontsPath("../../../../sdkjs/fonts/"); this.api.asc_setMobileVersion(true); this.api.asc_registerCallback('asc_onAdvancedOptions', Ext.bind(this.onAdvancedOptions, this));