hook React so the devtools can find it

This commit is contained in:
Yonatan Schreiber 2015-04-22 13:01:46 +03:00
parent c6e140300e
commit 715a0565c2

View File

@ -14,6 +14,10 @@
<div id="content">
<h1>If you can see this, something is broken (or JS is not enabled)!!.</h1>
</div>
<script>
__REACT_DEVTOOLS_GLOBAL_HOOK__ = parent.__REACT_DEVTOOLS_GLOBAL_HOOK__
</script>
<script type="text/javascript" src="assets/main.js"></script>
</body>
</html>