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

Unified Diff: test/data/input/conditional4_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
« no previous file with comments | « test/data/input/conditional3_test.html ('k') | test/data/input/conditional5_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/data/input/conditional4_test.html
diff --git a/test/data/input/conditional4_test.html b/test/data/input/conditional4_test.html
index aa9072b6fb9e086e078f988f7638ce60b727040a..71d64c7cdf37b9e84408fe18ee14d71dad9c41f3 100644
--- a/test/data/input/conditional4_test.html
+++ b/test/data/input/conditional4_test.html
@@ -10,7 +10,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="components" href="conditional4_component1.html">
<link rel="components" href="conditional4_component2.html">
- <title></title>
<script type='application/javascript' src="testing.js"></script>
</head>
<body>
@@ -22,17 +21,15 @@
</template>
<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(() {
cond = false;
- dispatch();
// in the end, we should see <x-pass> and not <x-error>
- window.setTimeout(() => window.postMessage('done', '*'), 0);
+ window.setImmediate(() => window.postMessage('done', '*'));
}, 0);
}, 0);
}
« no previous file with comments | « test/data/input/conditional3_test.html ('k') | test/data/input/conditional5_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698