revert depth() addition
This commit is contained in:
parent
6528ec3aba
commit
217b1540fb
|
|
@ -948,12 +948,6 @@ export class Frame extends SdkObject {
|
|||
return this._parentFrame;
|
||||
}
|
||||
|
||||
depth(): number {
|
||||
if (!this._parentFrame)
|
||||
return 0;
|
||||
return this._parentFrame.depth() + 1;
|
||||
}
|
||||
|
||||
childFrames(): Frame[] {
|
||||
return Array.from(this._childFrames);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue