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

Commit

Permalink
fix(presubmit): use https protocol for push
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Mar 13, 2014
1 parent 587a5f9 commit a2845a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/core_dom/element_binder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ class ElementBinder {
DirectiveMap directives = injector.get(DirectiveMap);
// This is a bit of a hack since we are returning different type then we are.
var componentFactory = new _ComponentFactory(node, ref.type,
ref.annotation as NgComponent,
injector.get(dom.NodeTreeSanitizer), _expando);
ref.annotation as NgComponent,
injector.get(dom.NodeTreeSanitizer), _expando);
if (fctrs == null) fctrs = new Map<Type, _ComponentFactory>();
fctrs[ref.type] = componentFactory;
return componentFactory.call(injector, compiler, scope, viewCache, http, templateCache, directives);
return componentFactory.call(injector, scope, viewCache, http, templateCache, directives);
}, visibility: visibility);
} else {
nodeModule.type(ref.type, visibility: visibility);
Expand Down
4 changes: 1 addition & 3 deletions lib/core_dom/view_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,14 @@ class _ComponentFactory implements Function {
dom.ShadowRoot shadowDom;
Scope shadowScope;
Injector shadowInjector;
Compiler compiler;
var controller;

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

dynamic call(Injector injector, Compiler compiler, Scope scope,
dynamic call(Injector injector, Scope scope,
ViewCache $viewCache, Http $http, TemplateCache $templateCache,
DirectiveMap directives) {
this.compiler = compiler;
shadowDom = element.createShadowRoot();
shadowDom.applyAuthorStyles = component.applyAuthorStyles;
shadowDom.resetStyleInheritance = component.resetStyleInheritance;
Expand Down

0 comments on commit a2845a5

Please sign in to comment.