Commit 21c765c9 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Closure: drop moot `type` attributes

parent 28280527
......@@ -40,10 +40,10 @@
</footer>
<script src="node_modules/todomvc-common/base.js"></script>
<!-- The compiled version (see readme.md) -->
<script type="text/javascript" src="js/compiled.js"></script>
<script src="js/compiled.js"></script>
<!-- The RAW development version (see readme.md) -->
<!--<script type="text/javascript" src="http://localhost:9810/compile?id=todomvc&mode=RAW"></script>-->
<!--<script src="http://localhost:9810/compile?id=todomvc&mode=RAW"></script>-->
<!-- The COMPILED development version (see readme.md) -->
<!-- <script type="text/javascript" src="http://localhost:9810/compile?id=todomvc&mode=ADVANCED"></script> -->
<!-- <script src="http://localhost:9810/compile?id=todomvc&mode=ADVANCED"></script> -->
</body>
</html>
......@@ -44,11 +44,11 @@ A third party build tool called [Plovr](http://plovr.com/) is used to make runni
You'll also need to change the HTML file so that it references the served files instead of the compiled version (**make sure you comment out the compiled version otherwise it will not work**), to do this remove the compiled script reference and add the following -
`<script type="text/javascript" src="http://localhost:9810/compile?id=todomvc&mode=RAW"></script>`
`<script src="http://localhost:9810/compile?id=todomvc&mode=RAW"></script>`
This will serve up the javascript files in RAW mode which is ideal for rapid development and debugging. To run the compiler, and therefore all the associated type checks etc., change RAW for ADVANCED -
`<script type="text/javascript" src="http://localhost:9810/compile?id=todomvc&mode=ADVANCED"></script>`
`<script src="http://localhost:9810/compile?id=todomvc&mode=ADVANCED"></script>`
## Linting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment