Changed appReady api event.

This commit is contained in:
Julia Radzhabova 2017-09-25 14:49:46 +03:00
parent 52b56fa997
commit aa23ed4418
2 changed files with 1 additions and 1 deletions
apps
api/documents
common

View file

@ -190,6 +190,7 @@
_config.frameEditorId = placeholderId;
_config.events && !!_config.events.onReady && console.log("Obsolete: The onReady event is deprecated. Please use onAppReady instead.");
_config.events && (_config.events.onAppReady = _config.events.onAppReady || _config.events.onReady);
var onMouseUp = function (evt) {
_processMouse(evt);

View file

@ -139,7 +139,6 @@ if (Common === undefined) {
return {
appReady: function() {
_postMessage({ event: 'onReady' });
_postMessage({ event: 'onAppReady' });
},