Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: test/data/input/todomvc_mainpage_test.html

Issue 12225039: Support for observable models, fixes #259 (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/data/input/todomvc_mainpage2_test.html ('k') | test/data/input/todomvc_markdone_test.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 for details. All rights reserved. Use of this source code is governed by a 4 for details. All rights reserved. Use of this source code is governed by a
5 BSD-style license that can be found in the LICENSE file. 5 BSD-style license that can be found in the LICENSE file.
6 --> 6 -->
7 <html lang="en"> 7 <html lang="en">
8 <head> 8 <head>
9 <!-- 9 <!--
10 This test runs the TodoMVC app and evaluates that it renders correctly. 10 This test runs the TodoMVC app and evaluates that it renders correctly.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 <script type="application/dart"> 67 <script type="application/dart">
68 import 'dart:html'; 68 import 'dart:html';
69 import 'package:web_ui/web_ui.dart'; 69 import 'package:web_ui/web_ui.dart';
70 import 'example/todomvc/main.dart' as todomvc_main; 70 import 'example/todomvc/main.dart' as todomvc_main;
71 import 'example/todomvc/model.dart'; 71 import 'example/todomvc/model.dart';
72 72
73 final addTodo = todomvc_main.addTodo; 73 final addTodo = todomvc_main.addTodo;
74 74
75 main() { 75 main() {
76 todomvc_main.main(); 76 todomvc_main.main();
77 window.setTimeout(() => window.postMessage('done', '*'), 0); 77 window.setImmediate(() => window.postMessage('done', '*'));
78 } 78 }
79 </script> 79 </script>
80 </body> 80 </body>
81 </html> 81 </html>
OLDNEW
« no previous file with comments | « test/data/input/todomvc_mainpage2_test.html ('k') | test/data/input/todomvc_markdone_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698