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

Side by Side Diff: example/todomvc/test/todomvc_mainpage2_test.html

Issue 20863002: Introduce boot.js: this finally makes it possible to load and run Todomvc (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2013, 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 if a 10 This test runs the TodoMVC app and evaluates that it renders correctly if a
(...skipping 13 matching lines...) Expand all
24 import 'package:mdv/mdv.dart' as mdv; 24 import 'package:mdv/mdv.dart' as mdv;
25 import 'package:observe/observe.dart'; 25 import 'package:observe/observe.dart';
26 import 'package:polymer/polymer.dart'; 26 import 'package:polymer/polymer.dart';
27 import '../web/model.dart'; 27 import '../web/model.dart';
28 28
29 main() { 29 main() {
30 mdv.initialize(); 30 mdv.initialize();
31 31
32 Timer.run(() { 32 Timer.run(() {
33 appModel.todos.add(new Todo('hola')); 33 appModel.todos.add(new Todo('hola'));
34 deliverChangeRecords();
35 // TODO(sigmund): investigate why is not enough to do Timer.run 34 // TODO(sigmund): investigate why is not enough to do Timer.run
36 new Timer(new Duration(milliseconds: 200), 35 new Timer(new Duration(milliseconds: 200),
37 () => window.postMessage('done', '*')); 36 () => window.postMessage('done', '*'));
38 }); 37 });
39 } 38 }
40 </script> 39 </script>
41 </body> 40 </body>
42 </html> 41 </html>
OLDNEW
« no previous file with comments | « example/todomvc/test/todomvc_listorder_test.html ('k') | example/todomvc/test/todomvc_markdone_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698