refactor(ElementBinderBuilder): remove unused code

Closes #3326
This commit is contained in:
Pawel Kozlowski 2015-07-28 11:13:00 +02:00 committed by Tobias Bosch
parent 16e3d7e96e
commit aae5a4cece
1 changed files with 0 additions and 7 deletions

View File

@ -149,7 +149,6 @@ export class ElementBinderBuilder {
nestedProtoView: ProtoViewBuilder = null;
propertyBindings: Map<string, ASTWithSource> = new Map();
variableBindings: Map<string, string> = new Map();
propertyBindingsToDirectives: Set<string> = new Set();
eventBindings: List<api.EventBinding> = [];
eventBuilder: EventBuilder = new EventBuilder();
textBindings: Map<Node, ASTWithSource> = new Map();
@ -191,12 +190,6 @@ export class ElementBinderBuilder {
this.propertyBindings.set(name, expression);
}
bindPropertyToDirective(name: string) {
// we are filling in a set of property names that are bound to a property
// of at least one directive. This allows us to report "dangling" bindings.
this.propertyBindingsToDirectives.add(name);
}
bindVariable(name: string, value: string) {
// When current is a view root, the variable bindings are set to the *nested* proto view.
// The root view conceptually signifies a new "block scope" (the nested view), to which