Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit a2845a5

Browse files
committed
fix(presubmit): use https protocol for push
1 parent 587a5f9 commit a2845a5

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

lib/core_dom/element_binder.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ class ElementBinder {
176176
DirectiveMap directives = injector.get(DirectiveMap);
177177
// This is a bit of a hack since we are returning different type then we are.
178178
var componentFactory = new _ComponentFactory(node, ref.type,
179-
ref.annotation as NgComponent,
180-
injector.get(dom.NodeTreeSanitizer), _expando);
179+
ref.annotation as NgComponent,
180+
injector.get(dom.NodeTreeSanitizer), _expando);
181181
if (fctrs == null) fctrs = new Map<Type, _ComponentFactory>();
182182
fctrs[ref.type] = componentFactory;
183-
return componentFactory.call(injector, compiler, scope, viewCache, http, templateCache, directives);
183+
return componentFactory.call(injector, scope, viewCache, http, templateCache, directives);
184184
}, visibility: visibility);
185185
} else {
186186
nodeModule.type(ref.type, visibility: visibility);

lib/core_dom/view_factory.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,14 @@ class _ComponentFactory implements Function {
158158
dom.ShadowRoot shadowDom;
159159
Scope shadowScope;
160160
Injector shadowInjector;
161-
Compiler compiler;
162161
var controller;
163162

164163
_ComponentFactory(this.element, this.type, this.component, this.treeSanitizer,
165164
this._expando);
166165

167-
dynamic call(Injector injector, Compiler compiler, Scope scope,
166+
dynamic call(Injector injector, Scope scope,
168167
ViewCache $viewCache, Http $http, TemplateCache $templateCache,
169168
DirectiveMap directives) {
170-
this.compiler = compiler;
171169
shadowDom = element.createShadowRoot();
172170
shadowDom.applyAuthorStyles = component.applyAuthorStyles;
173171
shadowDom.resetStyleInheritance = component.resetStyleInheritance;

0 commit comments

Comments
 (0)