fixes #58
This commit is contained in:
parent
8d04115c8b
commit
7cbc3f7bd4
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -101,11 +101,11 @@ class TabGroup extends EventEmitter {
|
|||
}
|
||||
|
||||
getTabs () {
|
||||
return this.tabs;
|
||||
return this.slice().tabs;
|
||||
}
|
||||
|
||||
eachTab (fn) {
|
||||
this.tabs.forEach(fn);
|
||||
this.tabs.slice().forEach(fn);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue