Use .js extension in example for consistency
This commit is contained in:
parent
c42733ec95
commit
b8411b2dc2
2 changed files with 2 additions and 2 deletions
12
example/lib/index.js
Normal file
12
example/lib/index.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
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 ut seems source
|
||||
// maps cannot pass through two stages).
|
||||
var MatrixReactSdk = require("../../src/index");
|
||||
|
||||
React.render(
|
||||
<MatrixReactSdk.MatrixChat />,
|
||||
document.getElementById('matrixchat')
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue