Commit f6e29849 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete api methods CreateComponents, Init

parent cae1fe69
......@@ -707,9 +707,6 @@ var ApplicationController = new(function(){
api = new Asc.asc_docs_api("editor_sdk");
if (api){
api.CreateComponents();
api.Init();
api.asc_registerCallback('asc_onError', onError);
api.asc_registerCallback('asc_onDocumentContentReady', onDocumentContentReady);
api.asc_registerCallback('asc_onOpenDocumentProgress', onOpenDocument);
......
......@@ -121,9 +121,6 @@ define([
}
window["flat_desine"] = true;
this.api.CreateComponents();
this.api.Init();
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));
this.api.asc_registerCallback('asc_onDocumentContentReady', _.bind(this.onDocumentContentReady, this));
this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this));
......
......@@ -60,8 +60,6 @@ Ext.define('DE.controller.Main', {
api = new Asc.asc_docs_api("id-sdkeditor");
api.SetMobileVersion(true);
api.CreateComponents();
api.Init();
api.initEvents2MobileAdvances();
api.asc_registerCallback('asc_onStartAction', Ext.bind(this.onLongActionBegin, 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