From d755b8284c40a95e96c1e6f30dd64c07e00af1e2 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Fri, 23 Feb 2018 15:22:56 +0000 Subject: [PATCH] Remove logging and cleanup. --- src/components/views/elements/AppTile.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js index cc11a8542a..07bb811667 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -74,7 +74,6 @@ export default class AppTile extends React.Component { }; } - /** * Does the widget support a given capability * @param {[type]} capability Capability to check for @@ -112,7 +111,6 @@ export default class AppTile extends React.Component { return u.format(); } - /** * Returns true if specified url is a scalar URL, typically https://scalar.vector.im/api * @param {[type]} url URL to check @@ -164,7 +162,6 @@ export default class AppTile extends React.Component { componentWillUnmount() { // Widget action listeners - console.warn('Removing widget event listener', this.dispatcherRef); dis.unregister(this.dispatcherRef); // Widget postMessage listeners @@ -339,7 +336,6 @@ export default class AppTile extends React.Component { * Called when widget iframe has finished loading */ _onLoaded() { - console.warn("App frame loaded", this.props.id); this.widgetMessaging = new WidgetMessaging(this.props.id, this.refs.appFrame.contentWindow); this.widgetMessaging.startListening(); this.widgetMessaging.addEndpoint(this.props.id, this.props.url);