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

Unified Diff: example/todomvc/main.dart

Issue 12096106: work in progress: observable implementation using detailed change records (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/build_observable.dart ('k') | example/todomvc/model.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/todomvc/main.dart
diff --git a/example/todomvc/main.dart b/example/todomvc/main.dart
index 75d8d189b47cc620889bfe8ac72060148fe475be..a6516b196e4dd8475fbebe0789b2cfc7b296213b 100644
--- a/example/todomvc/main.dart
+++ b/example/todomvc/main.dart
@@ -9,6 +9,8 @@ import 'model.dart';
import 'package:web_ui/web_ui.dart';
main() {
+ useObservers = true;
+
// listen on changes to #hash in the URL
// Note: listen on both popState and hashChange, because IE9 doens't support
// history API, and it doesn't work properly on Opera 12.
« no previous file with comments | « bin/build_observable.dart ('k') | example/todomvc/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698