@@ -107,7 +107,6 @@ export class NgtRendererFactory2 implements RendererFactory2 {
107
107
export class NgtRenderer2 implements Renderer2 {
108
108
private argsInjectors : Array < Injector > = [ ] ;
109
109
private parentInjectors : Array < Injector > = [ ] ;
110
- private portalInjectors : Array < Injector > = [ ] ;
111
110
112
111
constructor (
113
112
public delegateRenderer : Renderer2 ,
@@ -135,7 +134,6 @@ export class NgtRenderer2 implements Renderer2 {
135
134
this . count = 0 ;
136
135
this . argsInjectors = [ ] ;
137
136
this . parentInjectors = [ ] ;
138
- this . portalInjectors = [ ] ;
139
137
}
140
138
141
139
createElement ( name : string , namespace ?: string | null ) {
@@ -220,7 +218,7 @@ export class NgtRenderer2 implements Renderer2 {
220
218
// In our directives, we can call this function to then start tracking the RendererNode
221
219
// this is done to limit the amount of Nodes we need to process for getCreationState
222
220
Object . assign ( commentRendererNode , {
223
- [ NGT_INTERNAL_ADD_COMMENT_FLAG ] : ( type : 'args' | 'parent' | 'portal' , injector : Injector ) => {
221
+ [ NGT_INTERNAL_ADD_COMMENT_FLAG ] : ( type : 'args' | 'parent' , injector : Injector ) => {
224
222
if ( type === 'args' ) {
225
223
this . argsInjectors . push ( injector ) ;
226
224
} else if ( type === 'parent' ) {
@@ -230,8 +228,6 @@ export class NgtRenderer2 implements Renderer2 {
230
228
} ,
231
229
} ) ;
232
230
this . parentInjectors . push ( injector ) ;
233
- } else if ( type === 'portal' ) {
234
- this . portalInjectors . push ( injector ) ;
235
231
}
236
232
237
233
commentRendererNode . __ngt_renderer__ [ NgtRendererClassId . injector ] = injector ;
0 commit comments