forked from matrix/element-web
Add displayNames so they're not all just 'exports' in the react debugger
This commit is contained in:
parent
41014af471
commit
e77e9b7704
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var LogoutButtonController = require("../../controllers/atoms/LogoutButton");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'LogoutButton',
|
||||
mixins: [LogoutButtonController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var MessageTimestampController = require("../../controllers/atoms/MessageTimestamp");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MessageTimestamp',
|
||||
mixins: [MessageTimestampController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var MEmoteTileController = require("../../controllers/molecules/MEmoteTile");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MEmoteTile',
|
||||
mixins: [MEmoteTileController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var MNoticeTileController = require("../../controllers/molecules/MNoticeTile");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MNoticeTile',
|
||||
mixins: [MNoticeTileController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var MTextTileController = require("../../controllers/molecules/MTextTile");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MTextTile',
|
||||
mixins: [MTextTileController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -7,6 +7,7 @@ var LogoutButton = ComponentBroker.get("atoms/LogoutButton");
|
|||
var MatrixToolbarController = require("../../controllers/molecules/MatrixToolbar");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MatrixToolbar',
|
||||
mixins: [MatrixToolbarController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var MessageComposerController = require("../../controllers/molecules/MessageComposer");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MessageComposer',
|
||||
mixins: [MessageComposerController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -18,6 +18,7 @@ var tileTypes = {
|
|||
var MessageTileController = require("../../controllers/molecules/MessageTile");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MessageTile',
|
||||
mixins: [MessageTileController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var ProgressBarController = require("./../molecules/ProgressBar");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'ProgressBar',
|
||||
mixins: [ProgressBarController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var RoomHeaderController = require("../../controllers/molecules/RoomHeader");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'RoomHeader',
|
||||
mixins: [RoomHeaderController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -4,6 +4,7 @@ var classNames = require('classnames');
|
|||
var RoomTileController = require("../../controllers/molecules/RoomTile");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'RoomTile',
|
||||
mixins: [RoomTileController],
|
||||
render: function() {
|
||||
var classes = classNames({
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var SenderProfileController = require("../../controllers/molecules/SenderProfile");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'SenderProfile',
|
||||
mixins: [SenderProfileController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var ServerConfigController = require("../../controllers/molecules/ServerConfig");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'ServerConfig',
|
||||
mixins: [ServerConfigController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -3,6 +3,7 @@ var React = require('react');
|
|||
var UnknownMessageTileController = require("../../controllers/molecules/UnknownMessageTile");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'UnknownMessageTile',
|
||||
mixins: [UnknownMessageTileController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -4,6 +4,7 @@ var RoomListController = require("../../controllers/organisms/RoomList");
|
|||
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'RoomList',
|
||||
mixins: [RoomListController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -10,6 +10,7 @@ var RoomViewController = require("../../controllers/organisms/RoomView");
|
|||
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'RoomView',
|
||||
mixins: [RoomViewController],
|
||||
|
||||
getMessageTiles: function() {
|
||||
|
|
|
@ -13,6 +13,7 @@ var Loader = require("react-loader");
|
|||
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MatrixChat',
|
||||
mixins: [MatrixChatController],
|
||||
|
||||
render: function() {
|
||||
|
|
|
@ -8,6 +8,7 @@ var Loader = require("react-loader");
|
|||
var LoginController = require("../../controllers/templates/Login");
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'Login',
|
||||
mixins: [LoginController],
|
||||
|
||||
loginContent: function() {
|
||||
|
|
Loading…
Reference in New Issue