File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
modules/angular2/src/core Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,6 @@ var _rootInjector: Injector;
2424// Contains everything that is safe to share between applications.
2525var _rootBindings = [
2626 bind ( Reflector ) . toValue ( reflector ) ,
27- bind ( ChangeDetection ) . toValue ( dynamicChangeDetection ) ,
28- Compiler ,
29- CompilerCache ,
30- TemplateLoader ,
31- TemplateResolver ,
32- DirectiveMetadataReader ,
33- Parser ,
34- Lexer ,
35- bind ( ShadowDomStrategy ) . toValue ( new NativeShadowDomStrategy ( ) ) ,
36- bind ( XHR ) . toValue ( new XHRImpl ( ) ) ,
3727] ;
3828
3929export var appViewToken = new OpaqueToken ( 'AppView' ) ;
@@ -87,6 +77,16 @@ function _injectorBindings(appComponentType): List<Binding> {
8777 var plugins = [ new HammerGesturesPlugin ( ) ] ;
8878 return new EventManager ( plugins , zone ) ;
8979 } , [ VmTurnZone ] ) ,
80+ bind ( ShadowDomStrategy ) . toValue ( new NativeShadowDomStrategy ( ) ) ,
81+ Compiler ,
82+ CompilerCache ,
83+ TemplateResolver ,
84+ bind ( ChangeDetection ) . toValue ( dynamicChangeDetection ) ,
85+ TemplateLoader ,
86+ DirectiveMetadataReader ,
87+ Parser ,
88+ Lexer ,
89+ bind ( XHR ) . toValue ( new XHRImpl ( ) ) ,
9090 ] ;
9191}
9292
You can’t perform that action at this time.
0 commit comments