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

Unified Diff: test/data/input/common.dart

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/data/input/code_in_dart_file_test.html ('k') | test/data/input/component_field_2way_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/data/input/common.dart
diff --git a/test/data/input/common.dart b/test/data/input/common.dart
index 6d51f00f86aa869680a880a5a33a3f8622ed2665..1aea6c95878df0728705667a49fea2d0a3b2b270 100644
--- a/test/data/input/common.dart
+++ b/test/data/input/common.dart
@@ -4,7 +4,9 @@
/** Common definitions used across several tests. */
+@observable
library common;
+import 'package:web_ui/observe.dart';
String topLevelVar = "hi";
@@ -12,6 +14,6 @@ bool cond = false;
bool get notCond => !cond;
-List<String> loopItemList = ["a", "b"];
+List<String> loopItemList = toObservable(["a", "b"]);
List<String> initNullLoopItemList = null;
« no previous file with comments | « test/data/input/code_in_dart_file_test.html ('k') | test/data/input/component_field_2way_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698