Merge the latest version of Speedometer 2.0 to browserbench.org against at r221119.
[WebKit-https.git] / Websites / browserbench.org / Speedometer2.0 / resources / todomvc / functional-prog-examples / elm / index.html
1 <!doctype html>
2 <html lang="en" data-framework="elm">
3 <head>
4     <meta charset="utf-8">
5     <title>Elm • 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     <style>
9         body {
10             width: auto;
11         }
12         .todomvc-wrapper {
13             visibility: visible !important;
14         }
15     </style>
16 </head>
17
18 <body>
19 <script src="dist/elm.js"></script>
20 <script>
21     (function () {
22         // var result = localStorage.getItem('elm-todo-model');
23         // var savedModel = result ? JSON.parse(result) : null;
24         var savedModel = null;
25         var todomvc = Elm.Todo.fullscreen(savedModel);
26         // todomvc.ports.save.subscribe(function (model) {
27         //  localStorage.setItem('elm-todo-model', JSON.stringify(model));
28         // });
29     }());
30 </script>
31 </body>
32 </html>