Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Commit 4926237

Browse files
committed
ES6 spread
1 parent 9934c66 commit 4926237

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/navigation-controller.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,19 +492,19 @@ class NavigationController extends React.Component {
492492
}
493493

494494
pushView() {
495-
this.__pushView.apply(this, arguments);
495+
this.__pushView(...arguments);
496496
}
497497

498498
popView() {
499-
this.__popView.apply(this, arguments);
499+
this.__popView(...arguments);
500500
}
501501

502502
popToRootView() {
503-
this.__popToRootView.apply(this, arguments);
503+
this.__popToRootView(...arguments);
504504
}
505505

506506
setViews() {
507-
this.__setViews.apply(this, arguments);
507+
this.__setViews(...arguments);
508508
}
509509

510510
__renderPrevView() {

0 commit comments

Comments
 (0)