Reshuffle to put "HTML" (JSX) and CSS together as a theme with logic elsewhere.

This commit is contained in:
David Baker 2015-06-23 14:40:50 +01:00
parent cc4fa6140c
commit a022a4b9a6
37 changed files with 56 additions and 54 deletions

View file

@ -1,18 +0,0 @@
var React = require('react');
var MessageTimestampController = require("../../controllers/atoms/MessageTimestamp");
module.exports = React.createClass({
displayName: 'MessageTimestamp',
mixins: [MessageTimestampController],
render: function() {
var date = new Date(this.props.ts);
return (
<span className="mx_MessageTimestamp">
{date.toLocaleTimeString()}
</span>
);
},
});