GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor(ElementBinderBuilder): remove unused code · allel/angular@aae5a4c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • modules/angular2/src/render/dom/view
    • proto_view_builder.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

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 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.