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

Unified Diff: pkg/custom_element/lib/custom_element.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
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | pkg/template_binding/test/element_bindings_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/custom_element/lib/custom_element.dart
diff --git a/pkg/custom_element/lib/custom_element.dart b/pkg/custom_element/lib/custom_element.dart
index acabe007768493b465deec40deedd26a5f73c579..02c75691ff3c17731550d32387a6ee3da70c86d8 100644
--- a/pkg/custom_element/lib/custom_element.dart
+++ b/pkg/custom_element/lib/custom_element.dart
@@ -110,27 +110,6 @@ class CustomElement implements Element {
/** Invoked when any attribute of the component is modified. */
void attributeChanged(String name, String oldValue) {}
- get model => host.model;
-
- void set model(newModel) {
- host.model = newModel;
- }
-
- get templateInstance => host.templateInstance;
- get isTemplate => host.isTemplate;
- get ref => host.ref;
- get content => host.content;
- DocumentFragment createInstance(model, [BindingDelegate delegate]) =>
- host.createInstance(model, delegate);
- createBinding(String name, model, String path) =>
- host.createBinding(name, model, path);
- bind(String name, model, String path) => host.bind(name, model, path);
- void unbind(String name) => host.unbind(name);
- void unbindAll() => host.unbindAll();
- get bindings => host.bindings;
- BindingDelegate get bindingDelegate => host.bindingDelegate;
- set bindingDelegate(BindingDelegate value) { host.bindingDelegate = value; }
-
// TODO(efortuna): Update these when we decide what to do with these
// properties.
@deprecated
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | pkg/template_binding/test/element_bindings_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698