GeezerVison is showing github.com — refactor(ElementBinderBuilder): remove unused code · allel/angular@aae5a4c
File tree
Expand file treeCollapse file tree
Open diff view settings
modules/angular2/src/render/dom/view
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: modules/angular2/src/render/dom/view/proto_view_builder.ts -7Lines changed: 0 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -149,7 +149,6 @@ export class ElementBinderBuilder { |
149 | 149 | nestedProtoView: ProtoViewBuilder = null; |
150 | 150 | propertyBindings: Map<string, ASTWithSource> = new Map(); |
151 | 151 | variableBindings: Map<string, string> = new Map(); |
152 | | - propertyBindingsToDirectives: Set<string> = new Set(); |
153 | 152 | eventBindings: List<api.EventBinding> = []; |
154 | 153 | eventBuilder: EventBuilder = new EventBuilder(); |
155 | 154 | textBindings: Map<Node, ASTWithSource> = new Map(); |
@@ -191,12 +190,6 @@ export class ElementBinderBuilder { |
191 | 190 | this.propertyBindings.set(name, expression); |
192 | 191 | } |
193 | 192 |
|
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 | | - |
200 | 193 | bindVariable(name: string, value: string) { |
201 | 194 | // When current is a view root, the variable bindings are set to the *nested* proto view. |
202 | 195 | // The root view conceptually signifies a new "block scope" (the nested view), to which |
|