(old)
| 124 | plugin.plugin.register( |
| 125 | around(WorkspaceItem.prototype, { |
| 126 | getContainer(old) { |
| 127 | return function () { |
| 128 | if (!old) return; // 0.14.x doesn't have this |
| 129 | if (!this.parentSplit || this instanceof WorkspaceContainer) |
| 130 | return old.call(this); |
| 131 | return this.parentSplit.getContainer(); |
| 132 | }; |
| 133 | }, |
| 134 | }) |
| 135 | ); |
| 136 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected