From df39c3a281d5bfdbe2048ba667ac41df28c58d2c Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 2 Oct 2015 16:44:35 +0100 Subject: [PATCH] Changes from PR feedback --- README.md | 2 +- src/skins/vector/views/molecules/EventAsTextTile.js | 2 -- src/skins/vector/views/molecules/RoomCreate.js | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2d3dfba3..690e1041 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Getting started 6. Wait a few seconds for the initial build to finish. 7. Open http://127.0.0.1:8080/ in your browser to see your newly built Vector. -Wiht `npm start`, Any changes you make to the source files will cause a rebuild so +With `npm start`, any changes you make to the source files will cause a rebuild so your changes will show up when you refresh. For production use, run `npm run build` to build all the necessary files diff --git a/src/skins/vector/views/molecules/EventAsTextTile.js b/src/skins/vector/views/molecules/EventAsTextTile.js index 698d2c15..e8beddf2 100644 --- a/src/skins/vector/views/molecules/EventAsTextTile.js +++ b/src/skins/vector/views/molecules/EventAsTextTile.js @@ -33,8 +33,6 @@ module.exports = React.createClass({ var text = TextForEvent.textForEvent(this.props.mxEvent); if (text == null || text.length == 0) return null; - var MessageTimestamp = sdk.getComponent('atoms.MessageTimestamp'); - var MemberAvatar = sdk.getComponent('atoms.MemberAvatar'); var timestamp = this.props.last ? : null; var avatar = this.props.mxEvent.sender ? : null; return ( diff --git a/src/skins/vector/views/molecules/RoomCreate.js b/src/skins/vector/views/molecules/RoomCreate.js index cadc0fc0..d66e014d 100644 --- a/src/skins/vector/views/molecules/RoomCreate.js +++ b/src/skins/vector/views/molecules/RoomCreate.js @@ -18,11 +18,9 @@ limitations under the License. var React = require('react'); -//var RoomCreateController = require('matrix-react-sdk/lib/controllers/molecules/RoomCreateController') - module.exports = React.createClass({ displayName: 'RoomCreate', - // mixins: [RoomCreateController], + render: function() { return (