Commit 02489014 authored by Julia Radzhabova's avatar Julia Radzhabova

Changed appReady api event.

parent 0e9e74f2
...@@ -190,6 +190,7 @@ ...@@ -190,6 +190,7 @@
_config.frameEditorId = placeholderId; _config.frameEditorId = placeholderId;
_config.events && !!_config.events.onReady && console.log("Obsolete: The onReady event is deprecated. Please use onAppReady instead."); _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) { var onMouseUp = function (evt) {
_processMouse(evt); _processMouse(evt);
......
...@@ -139,7 +139,6 @@ if (Common === undefined) { ...@@ -139,7 +139,6 @@ if (Common === undefined) {
return { return {
appReady: function() { appReady: function() {
_postMessage({ event: 'onReady' });
_postMessage({ event: 'onAppReady' }); _postMessage({ event: 'onAppReady' });
}, },
......
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