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

Unified Diff: test/data/input/list2_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 side-by-side diff with in-line comments
Download patch
Index: test/data/input/list2_test.html
diff --git a/test/data/input/list2_test.html b/test/data/input/list2_test.html
index 166c8c062c3f3a323000958c0b379faa09cd8838..b0fbecb0073b4ef940a1cf84cd9a8ed03adb1e64 100644
--- a/test/data/input/list2_test.html
+++ b/test/data/input/list2_test.html
@@ -8,7 +8,6 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>list_null_test</title>
<script type='application/javascript' src="testing.js"></script>
</head>
<body>
@@ -17,16 +16,16 @@
</template>
<script type="application/dart">
import 'dart:html';
- import 'package:web_ui/watcher.dart';
+ import 'package:web_ui/observe.dart';
import 'common.dart';
main() {
// TODO(terry): initNullLookItemList is not defined at init_autogenerated.
// Moved out of setTimeout to top of main see #130.
- initNullLoopItemList = ["a", "b"];
+ initNullLoopItemList = new ObservableList.from(["a", "b"]);
window.setTimeout(() {
- dispatch();
- window.setTimeout(() => window.postMessage('done', '*'), 0);
+ deliverChangesSync();
+ window.setImmediate(() => window.postMessage('done', '*'));
}, 0);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698