Remove logging and cleanup.

pull/21833/head
Richard Lewis 2018-02-23 15:22:56 +00:00
parent 57b027b776
commit d755b8284c
1 changed files with 0 additions and 4 deletions

View File

@ -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);