slides -> sdk-all + sdk-all-min
This commit is contained in:
parent
5a42f0c4e8
commit
02ce684cc7
|
@ -715,9 +715,7 @@ var ApplicationController = new(function(){
|
|||
api = new Asc.asc_docs_api("editor_sdk");
|
||||
|
||||
if (api){
|
||||
api.CreateComponents();
|
||||
api.SetThemesPath("../../../../sdkjs/slide/themes/");
|
||||
api.Init();
|
||||
|
||||
api.asc_registerCallback('asc_onError', onError);
|
||||
api.asc_registerCallback('asc_onDocumentContentReady', onDocumentContentReady);
|
||||
|
|
|
@ -109,10 +109,8 @@ define([
|
|||
this.api = new Asc.asc_docs_api("editor_sdk");
|
||||
|
||||
if (this.api){
|
||||
this.api.CreateComponents();
|
||||
this.api.SetDrawingFreeze(true);
|
||||
this.api.SetThemesPath("../../../../sdkjs/slide/themes/");
|
||||
this.api.Init();
|
||||
|
||||
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));
|
||||
this.api.asc_registerCallback('asc_onDocumentContentReady', _.bind(this.onDocumentContentReady, this));
|
||||
|
|
|
@ -62,9 +62,7 @@ Ext.define('PE.controller.Main', {
|
|||
|
||||
api = new Asc.asc_docs_api("id-sdkeditor");
|
||||
api.SetMobileVersion(true);
|
||||
api.CreateComponents();
|
||||
api.SetThemesPath("../../../../sdkjs/slide/themes/");
|
||||
api.Init();
|
||||
api.initEvents2MobileAdvances();
|
||||
|
||||
api.asc_registerCallback('asc_onStartAction', Ext.bind(this.onLongActionBegin, this));
|
||||
|
|
Loading…
Reference in a new issue