Skip to content

Commit aae5a4c

Browse files
pkozlowski-opensourcetbosch
authored andcommitted
refactor(ElementBinderBuilder): remove unused code
Closes angular#3326
1 parent 16e3d7e commit aae5a4c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

modules/angular2/src/render/dom/view/proto_view_builder.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ export class ElementBinderBuilder {
149149
nestedProtoView: ProtoViewBuilder = null;
150150
propertyBindings: Map<string, ASTWithSource> = new Map();
151151
variableBindings: Map<string, string> = new Map();
152-
propertyBindingsToDirectives: Set<string> = new Set();
153152
eventBindings: List<api.EventBinding> = [];
154153
eventBuilder: EventBuilder = new EventBuilder();
155154
textBindings: Map<Node, ASTWithSource> = new Map();
@@ -191,12 +190,6 @@ export class ElementBinderBuilder {
191190
this.propertyBindings.set(name, expression);
192191
}
193192

194-
bindPropertyToDirective(name: string) {
195-
// we are filling in a set of property names that are bound to a property
196-
// of at least one directive. This allows us to report "dangling" bindings.
197-
this.propertyBindingsToDirectives.add(name);
198-
}
199-
200193
bindVariable(name: string, value: string) {
201194
// When current is a view root, the variable bindings are set to the *nested* proto view.
202195
// The root view conceptually signifies a new "block scope" (the nested view), to which

0 commit comments

Comments
 (0)