This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(view factory): Compute DI Keys ahead of time
- Loading branch information
1 parent
61f3348
commit 317c23c
Showing
9 changed files
with
95 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
part of angular.core.dom_internal; | ||
|
||
// Keys used to call Injector.getByKey and Module.bindByKey | ||
|
||
Key _ANIMATE_KEY = new Key(Animate); | ||
Key _BOUND_VIEW_FACTORY_KEY = new Key(BoundViewFactory); | ||
Key _COMPONENT_CSS_REWRITER_KEY = new Key(ComponentCssRewriter); | ||
Key _DIRECTIVE_MAP_KEY = new Key(DirectiveMap); | ||
Key _ELEMENT_KEY = new Key(dom.Element); | ||
Key _ELEMENT_PROBE_KEY = new Key(ElementProbe); | ||
Key _ELEMENT_PROBE = new Key(ElementProbe); | ||
Key _EVENT_HANDLER_KEY = new Key(EventHandler); | ||
Key _FORMATTER_MAP_KEY = new Key(FormatterMap); | ||
Key _HTTP_KEY = new Key(Http); | ||
Key _INTERPOLATE_KEY = new Key(Interpolate); | ||
Key _NG_BASE_CSS_KEY = new Key(NgBaseCss); | ||
Key _NG_ELEMENT_KEY = new Key(NgElement); | ||
Key _NODE_ATTRS_KEY = new Key(NodeAttrs); | ||
Key _NODE_KEY = new Key(dom.Node); | ||
Key _NODE_TREE_SANITIZER_KEY = new Key(dom.NodeTreeSanitizer); | ||
Key _SCOPE_KEY = new Key(Scope); | ||
Key _SHADOW_ROOT_KEY = new Key(dom.ShadowRoot); | ||
Key _TEMPLATE_CACHE_KEY = new Key(TemplateCache); | ||
Key _TEMPLATE_LOADER_KEY = new Key(TemplateLoader); | ||
Key _TEXT_MUSTACHE_KEY = new Key(TextMustache); | ||
Key _VIEW_CACHE_KEY = new Key(ViewCache); | ||
Key _VIEW_FACTORY_KEY = new Key(ViewFactory); | ||
Key _VIEW_KEY = new Key(View); | ||
Key _VIEW_PORT_KEY = new Key(ViewPort); | ||
Key _WEB_PLATFORM_KEY = new Key(WebPlatform); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters