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

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
Index: test/data/input/common.dart
diff --git a/test/data/input/common.dart b/test/data/input/common.dart
index 6d51f00f86aa869680a880a5a33a3f8622ed2665..e339914001a41f3df5402f3a56f6ae6513e105c2 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 = new ObservableList.from(["a", "b"]);
List<String> initNullLoopItemList = null;

Powered by Google App Engine
This is Rietveld 408576698