|
1 | 1 | <!doctype html>
|
2 | 2 | <html lang="en" data-framework="react">
|
3 |
| - <head> |
4 |
| - <meta charset="utf-8"> |
5 |
| - <title>OrbitDB • TodoMVC</title> |
6 |
| - <link rel="stylesheet" href="node_modules/todomvc-common/base.css"> |
7 |
| - <link rel="stylesheet" href="node_modules/todomvc-app-css/index.css"> |
8 |
| - <link rel="stylesheet" href="src/app.css"> |
9 |
| - </head> |
10 |
| - <body> |
11 |
| - <section class="todoapp"></section> |
12 |
| - <footer class="info"> |
13 |
| - <p>Double-click to edit a todo</p> |
14 |
| - <p>Created by <a href="http://github.com/haadcode/">Haad</a></p> |
15 |
| - <p>Based on <a href="https://github.com/tastejs/todomvc/tree/master/examples/react">React</a> <a href="http://todomvc.com">TodoMVC</a></p> |
16 |
| - </footer> |
17 | 3 |
|
18 |
| - <script src="node_modules/todomvc-common/base.js"></script> |
19 |
| - <script src="node_modules/react/dist/react-with-addons.js"></script> |
20 |
| - <script src="node_modules/classnames/index.js"></script> |
21 |
| - <script src="node_modules/react/dist/JSXTransformer.js"></script> |
22 |
| - <script src="node_modules/director/build/director.js"></script> |
23 |
| - <script src="node_modules/orbit-db/dist/orbitdb.min.js"></script> |
24 |
| - <script src="node_modules/ipfs/dist/index.min.js"></script> |
| 4 | +<head> |
| 5 | + <meta charset="utf-8"> |
| 6 | + <title>OrbitDB • TodoMVC</title> |
| 7 | + <link rel="stylesheet" href="node_modules/todomvc-common/base.css"> |
| 8 | + <link rel="stylesheet" href="node_modules/todomvc-app-css/index.css"> |
| 9 | + <link rel="stylesheet" href="src/app.css"> |
| 10 | +</head> |
25 | 11 |
|
26 |
| - <!-- OrbitDB --> |
27 |
| - <script type="text/javascript" src="src/store.js"></script> |
| 12 | +<body> |
| 13 | + <section class="todoapp"></section> |
| 14 | + <footer class="info"> |
| 15 | + <p>Double-click to edit a todo</p> |
| 16 | + <p>Created by <a href="http://github.com/haadcode/">Haad</a></p> |
| 17 | + <p>Based on <a href="https://github.com/tastejs/todomvc/tree/master/examples/react">React</a> <a |
| 18 | + href="http://todomvc.com">TodoMVC</a></p> |
| 19 | + </footer> |
28 | 20 |
|
29 |
| - <!-- Todo MVC --> |
30 |
| - <script src="src/utils.js"></script> |
31 |
| - <script src="src/todoModel.js"></script> |
32 |
| - <!-- jsx is an optional syntactic sugar that transforms methods in React's |
| 21 | + <script src="node_modules/classnames/index.js"></script> |
| 22 | + <script src="https://fb.me/react-with-addons-0.14.3.js"></script> |
| 23 | + <script src="https://fb.me/react-dom-0.14.3.js"></script> |
| 24 | + <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> |
| 25 | + <script src="node_modules/director/build/director.js"></script> |
| 26 | + <script src="node_modules/todomvc-common/base.js"></script> |
| 27 | + <script src="node_modules/orbit-db/dist/orbitdb.min.js"></script> |
| 28 | + <script src="node_modules/ipfs/dist/index.min.js"></script> |
| 29 | + |
| 30 | + <!-- OrbitDB --> |
| 31 | + <script type="text/javascript" src="src/store.js"></script> |
| 32 | + |
| 33 | + <!-- Todo MVC --> |
| 34 | + <script src="src/utils.js"></script> |
| 35 | + <script src="src/todoModel.js"></script> |
| 36 | + <!-- jsx is an optional syntactic sugar that transforms methods in React's |
33 | 37 | `render` into an HTML-looking format. Since the two models above are
|
34 | 38 | unrelated to React, we didn't need those transforms. -->
|
35 |
| - <script type="text/jsx" src="src/todoItem.jsx"></script> |
36 |
| - <script type="text/jsx" src="src/footer.jsx"></script> |
37 |
| - <script type="text/jsx" src="src/app.jsx"></script> |
38 |
| - </body> |
| 39 | + <script type="text/jsx" src="src/todoItem.jsx"></script> |
| 40 | + <script type="text/jsx" src="src/footer.jsx"></script> |
| 41 | + <script type="text/jsx" src="src/app.jsx"></script> |
| 42 | +</body> |
| 43 | + |
39 | 44 | </html>
|
0 commit comments