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

Unified Diff: pkg/template_binding/lib/template_binding.dart

Issue 42433002: port Node.bind to bd0a0591920da9091b326627a46a104a92c7efe7 (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/template_binding/lib/template_binding.dart
diff --git a/pkg/template_binding/lib/template_binding.dart b/pkg/template_binding/lib/template_binding.dart
index 72976ac01e0122b7ff25da1e2f6bfb830008baa9..c8bd3b60516bb42d4cd1aaadc0bb0166a97b28f9 100644
--- a/pkg/template_binding/lib/template_binding.dart
+++ b/pkg/template_binding/lib/template_binding.dart
@@ -104,6 +104,7 @@ NodeBindExtension nodeBindFallback(Node node) {
var extension = _expando[node];
if (extension != null) return extension;
+ // TODO(jmesserly): switch on localName?
if (node is InputElement) {
extension = new _InputElementExtension(node);
} else if (node is SelectElement) {

Powered by Google App Engine
This is Rietveld 408576698