| 1 2 3 4 5 6 7 8 9 | 1× 1× 1× 1× 1× | "use strict"; // The message types exports.MESSAGE_INIT = "init"; // iframe -> app :: iFrame is ready exports.MESSAGE_INITIAL_STATE = "initialState"; // app -> iFrame :: send initial state to iFrame exports.MESSAGE_STATE = "state"; // app -> iFrame :: send state to iFrame exports.MESSAGE_DATA = "data"; // app <-> iFrame :: transfer datasource data from datasource or to widget exports.MESSAGE_UPDATE_SETTING = "updateSetting"; // iFrame -> app :: The plugin wants to update a setting |