replacing global Tinode object with TindeWeb's state object

This commit is contained in:
or-else
2018-09-06 20:55:39 +03:00
parent a578e27c82
commit b282f789fb
3 changed files with 81 additions and 67 deletions
+1 -2
View File
@@ -39,9 +39,8 @@
<!-- core tinode library -->
<script src="src/tinode.js"></script>
<!-- the application -->
<script type="text/babel" src="src/webapp.js"></script>
<script type="text/babel" src="src/webapp.jsx"></script>
<script type="text/babel">
console.log(Tinode);
ReactDOM.render(
<TinodeWeb />,
document.getElementById('mountPoint')