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

Unified Diff: test/data/input/bind_hyphenated_attribute_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/attr_multiple_bindings_test.html ('k') | test/data/input/code_in_dart_file_component.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/data/input/bind_hyphenated_attribute_test.html
diff --git a/test/data/input/bind_hyphenated_attribute_test.html b/test/data/input/bind_hyphenated_attribute_test.html
index a471cd080c8f52081291ccd7773bb6573cef455f..fc7b8fac2bf41bf8564a959edb07201c3185be12 100644
--- a/test/data/input/bind_hyphenated_attribute_test.html
+++ b/test/data/input/bind_hyphenated_attribute_test.html
@@ -8,19 +8,18 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>bind_hyphenated_attribute_test</title>
<script type="application/javascript" src="testing.js"></script>
</head>
<body>
<div data-hi="{{topLevelVar}}"></div>
<script type="application/dart">
import 'dart:html';
- String topLevelVar = "hi";
+ @observable String topLevelVar = "hi";
main() {
window.onLoad.listen((e) {
document.body.appendText('expected data-hi to be "hi", got '
'"${query('div').dataAttributes['hi']}"');
- window.setTimeout(() => window.postMessage('done', '*'), 0);
+ window.setImmediate(() => window.postMessage('done', '*'));
});
}
</script>
« no previous file with comments | « test/data/input/attr_multiple_bindings_test.html ('k') | test/data/input/code_in_dart_file_component.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698