Commit 6c285c0b authored by Julia Radzhabova's avatar Julia Radzhabova

Правка путей к шрифтам и темам.

parent 290e7c96
......@@ -90,7 +90,7 @@ define([
window["flat_desine"] = true;
this.api.CreateComponents();
this.api.asc_SetFontsPath("../../../sdk/Fonts/");
this.api.asc_SetFontsPath("../../../../sdkjs/fonts/");
this.api.Init();
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));
......
......@@ -80,8 +80,8 @@ define([
this.api.CreateComponents();
this.api.SetDrawingFreeze(true);
this.api.asc_SetFontsPath("../../../sdk/Fonts/");
this.api.SetThemesPath("../../../sdk/PowerPoint/themes/");
this.api.asc_SetFontsPath("../../../../sdkjs/fonts/");
this.api.SetThemesPath("../../../../sdkjs/slide/themes/");
this.api.Init();
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));
......
......@@ -81,7 +81,7 @@ define([
// Initialize api
this.api = new Asc.spreadsheet_api("editor_sdk", "ce-cell-content");
this.api.asc_setFontRenderingMode(parseInt(value));
this.api.asc_SetFontsPath("../../../sdk/Fonts/");
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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment