delete asc_SetFontsPath

route fonts by path "fonts/"
This commit is contained in:
Alexander.Trofimov 2016-05-05 14:07:51 +03:00
parent b8a2a6ea49
commit 79bfa777f8
10 changed files with 0 additions and 11 deletions

View file

@ -18,7 +18,6 @@
<div id="editor_sdk">
<script type="text/javascript">
var editor = new Asc.asc_docs_api("editor_sdk");
editor.asc_SetFontsPath("../../../../sdkjs/fonts/");
editor.LoadFontsFromServer();
</script>
</body>

View file

@ -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);

View file

@ -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));

View file

@ -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();

View file

@ -716,7 +716,6 @@ var ApplicationController = new(function(){
if (api){
api.CreateComponents();
api.asc_SetFontsPath("../../../../sdkjs/fonts/");
api.SetThemesPath("../../../../sdkjs/slide/themes/");
api.Init();

View file

@ -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();

View file

@ -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();

View file

@ -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);

View file

@ -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));

View file

@ -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));