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

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

Issue 14651030: Version 0.5.7.1 . (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: 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
« no previous file with comments | « tools/dom/src/TemplateBindings.dart ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
===================================================================
--- tools/dom/templates/html/impl/impl_Element.darttemplate (revision 22591)
+++ tools/dom/templates/html/impl/impl_Element.darttemplate (working copy)
@@ -839,8 +839,9 @@
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
« no previous file with comments | « tools/dom/src/TemplateBindings.dart ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698