File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ export class DomPortalHost extends BasePortalHost {
43
43
} else {
44
44
componentRef = componentFactory . create ( portal . injector || this . _defaultInjector ) ;
45
45
46
- // ApplicationRef's attachView and detachView methods are in Angular ^2.2.1 but not before.
47
- // The `else` clause here can be removed once 2.2.1 is released.
46
+ // ApplicationRef's attachView and detachView methods are in Angular ^2.3.0 but not before.
47
+ // The `else` clause here can be removed once 2.3.0 is released.
48
48
if ( ( this . _appRef as any ) [ 'attachView' ] ) {
49
49
( this . _appRef as any ) . attachView ( componentRef . hostView ) ;
50
50
@@ -55,7 +55,7 @@ export class DomPortalHost extends BasePortalHost {
55
55
} else {
56
56
// When creating a component outside of a ViewContainer, we need to manually register
57
57
// its ChangeDetector with the application. This API is unfortunately not published
58
- // in Angular <= 2.2 .0. The change detector must also be deregistered when the component
58
+ // in Angular < 2.3 .0. The change detector must also be deregistered when the component
59
59
// is destroyed to prevent memory leaks.
60
60
let changeDetectorRef = componentRef . changeDetectorRef ;
61
61
( this . _appRef as any ) . registerChangeDetector ( changeDetectorRef ) ;
You can’t perform that action at this time.
0 commit comments