More fixing up of vector skin
This commit is contained in:
parent
40594fc5fa
commit
7e72ee891a
29 changed files with 216 additions and 115 deletions
|
@ -17,12 +17,8 @@ limitations under the License.
|
|||
'use strict';
|
||||
|
||||
var React = require("react");
|
||||
// In normal usage of the module:
|
||||
//var MatrixReactSdk = require("matrix-react-sdk");
|
||||
// Or to import the source directly from the file system:
|
||||
// (This is useful for debugging the SDK as it seems source
|
||||
// maps cannot pass through two stages).
|
||||
var MatrixReactSdk = require("../../src/index");
|
||||
var sdk = require("matrix-react-sdk");
|
||||
sdk.loadSkin(require('../src/skins/vector/skindex'));
|
||||
|
||||
var lastLocationHashSet = null;
|
||||
|
||||
|
@ -78,8 +74,9 @@ var makeRegistrationUrl = function() {
|
|||
'#/register';
|
||||
}
|
||||
|
||||
var MatrixChat = sdk.getComponent('pages.MatrixChat');
|
||||
window.matrixChat = React.render(
|
||||
<MatrixReactSdk.MatrixChat onNewScreen={onNewScreen} registrationUrl={makeRegistrationUrl()} />,
|
||||
<MatrixChat onNewScreen={onNewScreen} registrationUrl={makeRegistrationUrl()} />,
|
||||
document.getElementById('matrixchat')
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue