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

Unified Diff: test/data/input/conditional5_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/conditional5_test.html
diff --git a/test/data/input/conditional5_test.html b/test/data/input/conditional5_test.html
index 46fafaae68aaa66f9af2130ff82ac7e753077ec5..24283c3c58cb366bcce0d909eb6d695908b55939 100644
--- a/test/data/input/conditional5_test.html
+++ b/test/data/input/conditional5_test.html
@@ -9,20 +9,19 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="components" href="conditional5_component.html">
- <title></title>
<script type='application/javascript' src="testing.js"></script>
</head>
<body>
<div is='x-conditional'></div>
<script type="application/dart">
import 'dart:html';
- import 'package:web_ui/watcher.dart';
+ import 'package:web_ui/observe.dart';
import 'common.dart';
main() {
window.setTimeout(() {
cond = true;
- dispatch();
- window.setTimeout(() => window.postMessage('done', '*'), 0);
+ deliverChangesSync();
Siggi Cherem (dart-lang) 2013/02/13 19:28:54 same here and in other tests...
Jennifer Messerly 2013/02/14 00:38:09 Removed it everywhere where we check results async
+ window.setImmediate(() => window.postMessage('done', '*'));
}, 0);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698