replacing global Tinode object with TindeWeb's state object
This commit is contained in:
+1
-2
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user