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

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

Issue 14634011: move top-level internal methods into a class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/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
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 8c342fd998e1e3be471d371eaee98110815c8560..56a693160a76abdfb811a46d4bffbc7050a80b27 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -690,7 +690,7 @@ $endif
name = name.substring(0, name.length - 1);
changed = (value) {
- if (_templateBooleanConversion(value)) {
+ if (_Bindings._toBoolean(value)) {
self.xtag.attributes[name] = '';
} else {
self.xtag.attributes.remove(name);
@@ -823,8 +823,8 @@ $endif
var template = ref;
if (template == null) template = this;
- var instance = _createDeepCloneAndDecorateTemplates(template.content,
- attributes['syntax']);
+ var instance = _Bindings._createDeepCloneAndDecorateTemplates(
+ template.content, attributes['syntax']);
if (TemplateElement._instanceCreated != null) {
TemplateElement._instanceCreated.add(instance);
@@ -850,7 +850,7 @@ $endif
var syntax = TemplateElement.syntax[attributes['syntax']];
_model = value;
- _addBindings(this, model, syntax);
+ _Bindings._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_HTMLTemplateElement.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698