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

Unified Diff: pkg/polymer_expressions/example/streams/collect_key_press.html

Issue 34453003: Rename mdv -> template_binding, remove experiemntal apis from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: pkg/polymer_expressions/example/streams/collect_key_press.html
diff --git a/pkg/polymer_expressions/example/streams/collect_key_press.html b/pkg/polymer_expressions/example/streams/collect_key_press.html
index 48221c173f8e88394aad03881b41fb1471e6bee0..f2140564eecf3689bf3cd86a8a635c8c31991f09 100644
--- a/pkg/polymer_expressions/example/streams/collect_key_press.html
+++ b/pkg/polymer_expressions/example/streams/collect_key_press.html
@@ -25,15 +25,13 @@ BSD-style license that can be found in the LICENSE file.
}
main() {
- mdv.initialize();
-
var globals = {
'keyPress': document.onKeyPress
.map((e) => new String.fromCharCode(e.charCode)),
'collect': collect,
};
- query('#test')
+ templateBind(query('#test'))
..bindingDelegate = new PolymerExpressions(globals: globals)
..model = null;
}
« no previous file with comments | « pkg/polymer_expressions/example/example.dart ('k') | pkg/polymer_expressions/example/streams/count_clicks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698