Cleaned up unused files and removed commented code

This commit is contained in:
Richard Lewis 2017-06-27 11:28:38 +01:00
parent 2cb2c44bd8
commit e343e99355
6 changed files with 3 additions and 231 deletions

View file

@ -35,16 +35,6 @@ export default React.createClass({
};
},
componentDidMount: function() {
console.log("App component %s mounted", this.props.id);
// setInterval(() => {
// const msg = "Message from riot";
// const domain = 'http://localhost:8000';
// this.refs.appFrame.contentWindow.postMessage(msg, domain);
// console.log("Sending message");
// }, 3000);
},
_onEditClick: function() {
console.log("Edit widget %s", this.props.id);
},
@ -78,12 +68,12 @@ export default React.createClass({
{this.props.name}
<span className="mx_AppTileMenuBarWidgets">
{/* Edit widget */}
<img
{/* <img
src="img/edit.svg"
className="mx_filterFlipColor mx_AppTileMenuBarWidget mx_AppTileMenuBarWidgetPadding"
width="8" height="8" alt="Edit"
onClick={this._onEditClick}
/>
/> */}
{/* Delete widget */}
<img src="img/cancel.svg"