Changed appReady api event.
This commit is contained in:
parent
52b56fa997
commit
aa23ed4418
apps
|
@ -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);
|
||||
|
|
|
@ -139,7 +139,6 @@ if (Common === undefined) {
|
|||
return {
|
||||
|
||||
appReady: function() {
|
||||
_postMessage({ event: 'onReady' });
|
||||
_postMessage({ event: 'onAppReady' });
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue