Load all components* through a central broker so we can overrride them with different ones
* only one place actually uses it currently
This commit is contained in:
parent
acaff68748
commit
c9a546b73b
2 changed files with 47 additions and 4 deletions
|
@ -1,11 +1,14 @@
|
|||
var React = require('react');
|
||||
var ComponentBroker = require('../ComponentBroker');
|
||||
|
||||
var RoomList = require('../organisms/RoomList');
|
||||
var RoomView = require('../organisms/RoomView');
|
||||
var MatrixToolbar = require('../molecules/MatrixToolbar');
|
||||
var RoomList = ComponentBroker.get('RoomList');
|
||||
var RoomView = ComponentBroker.get('RoomView');
|
||||
var MatrixToolbar = ComponentBroker.get('MatrixToolbar');
|
||||
var Login = ComponentBroker.get('Login');
|
||||
|
||||
// should be atomised
|
||||
var Loader = require("react-loader");
|
||||
|
||||
var Login = require('../templates/Login');
|
||||
|
||||
var mxCliPeg = require("../MatrixClientPeg");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue