File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ export abstract class Component {
2727 */
2828 private readonly _container : Reactor ;
2929
30- protected _name : string ;
31-
3230 /**
3331 * Create a new component and register it with the given container.
3432 * @param container The reactor that will contain the new component,
@@ -189,7 +187,7 @@ export abstract class Component {
189187 public _getName ( ) : string {
190188 let name ;
191189
192- if ( this instanceof Component ) {
190+ if ( this instanceof Reactor ) {
193191 name = this . _name ;
194192 }
195193
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ export abstract class Reactor extends Component {
487487 }
488488 } ;
489489
490- protected _name : string ;
490+ _name : string ;
491491
492492 /**
493493 * Create a new reactor.
You can’t perform that action at this time.
0 commit comments