Use .js extension in example for consistency

This commit is contained in:
David Baker 2015-06-09 17:42:10 +01:00
parent c42733ec95
commit b8411b2dc2
2 changed files with 2 additions and 2 deletions

12
example/lib/index.js Normal file
View 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')
);