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

Commit

Permalink
fix(events): make ShadowRootEventHandler play nice with static injection
Browse files Browse the repository at this point in the history
  • Loading branch information
chirayuk committed Mar 26, 2014
1 parent d663667 commit d768321
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/core_dom/event_handler.dart
Expand Up @@ -102,8 +102,8 @@ class EventHandler {
}

@NgInjectableService()
class _ShadowRootEventHandler extends EventHandler {
_ShadowRootEventHandler(dom.ShadowRoot shadowRoot,
class ShadowRootEventHandler extends EventHandler {
ShadowRootEventHandler(dom.ShadowRoot shadowRoot,
Expando expando,
ExceptionHandler exceptionHandler)
: super(shadowRoot, expando, exceptionHandler);
Expand Down
2 changes: 1 addition & 1 deletion lib/core_dom/view_factory.dart
Expand Up @@ -231,7 +231,7 @@ class _ComponentFactory implements Function {
var shadowModule = new Module()
..type(type)
..type(NgElement)
..type(EventHandler, implementedBy: _ShadowRootEventHandler)
..type(EventHandler, implementedBy: ShadowRootEventHandler)
..value(Scope, shadowScope)
..value(TemplateLoader, templateLoader)
..value(dom.ShadowRoot, shadowDom)
Expand Down
1 change: 1 addition & 0 deletions test/angular_spec.dart
Expand Up @@ -194,6 +194,7 @@ main() {
"angular.core.dom.Cookies",
"angular.core.dom.ElementBinderTreeRef", // internal?
"angular.core.dom.EventHandler",
"angular.core.dom.ShadowRootEventHandler", // internal
"angular.core.dom.Response",
"angular.core.dom.HttpDefaultHeaders",
"angular.core.dom.Animation",
Expand Down

0 comments on commit d768321

Please sign in to comment.