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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 14793017: MDV v3 changes: add getInstanceModel for custom syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add getInstanceFragment Created 7 years, 7 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: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index 89329db7fc0e57ed40fab02081d5c28e1744eec1..e4faf0ceb80daa8267c5bc0bd2213b8198ae2e23 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -839,8 +839,9 @@ $endif
void set model(value) {
_ensureTemplate();
+ var syntax = TemplateElement.syntax[attributes['syntax']];
_model = value;
- _addBindings(this, model);
+ _addBindings(this, model, syntax);
}
// TODO(jmesserly): const set would be better

Powered by Google App Engine
This is Rietveld 408576698