Commit 5385dd1b authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

g_fontApplication.Init(); вынес в базовый класс

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66138 954022d7-b5bf-4e40-9824-e11837661b57
parent 65b9b38c
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
/** @constructor */ /** @constructor */
function baseEditorsApi(name) { function baseEditorsApi(name) {
g_fontApplication.Init();
this.HtmlElementName = name; this.HtmlElementName = name;
this.CoAuthoringApi = new window['CDocsCoApi'](); this.CoAuthoringApi = new window['CDocsCoApi']();
......
...@@ -22,7 +22,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -22,7 +22,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
function spreadsheet_api(name, inputName, eventsHandlers) { function spreadsheet_api(name, inputName, eventsHandlers) {
spreadsheet_api.superclass.constructor.call(this, name); spreadsheet_api.superclass.constructor.call(this, name);
g_fontApplication.Init();
/************ private!!! **************/ /************ private!!! **************/
this.topLineEditorName = inputName; this.topLineEditorName = inputName;
this.HtmlElement = null; this.HtmlElement = null;
......
...@@ -35,8 +35,6 @@ function asc_docs_api(name) ...@@ -35,8 +35,6 @@ function asc_docs_api(name)
{ {
asc_docs_api.superclass.constructor.call(this, name); asc_docs_api.superclass.constructor.call(this, name);
g_fontApplication.Init();
var CSpellCheckApi = window["CSpellCheckApi"]; var CSpellCheckApi = window["CSpellCheckApi"];
History = new CHistory(); History = new CHistory();
......
...@@ -293,9 +293,6 @@ function asc_docs_api(name) ...@@ -293,9 +293,6 @@ function asc_docs_api(name)
window["AscDesktopEditor"]["CreateEditorApi"](); window["AscDesktopEditor"]["CreateEditorApi"]();
} }
g_fontApplication.Init();
var CSpellCheckApi = window["CSpellCheckApi"]; var CSpellCheckApi = window["CSpellCheckApi"];
History = new CHistory(); History = new CHistory();
......
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