MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / next

Function next

06.Router/basic/js/vue-router.js:1570–1581  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1568
1569 // advance the transition to the next step
1570 var next = function next() {
1571 if (nextCalled) {
1572 warn$1('transition.next() should be called only once.');
1573 return;
1574 }
1575 nextCalled = true;
1576 if (transition.aborted) {
1577 cleanup && cleanup();
1578 return;
1579 }
1580 cb && cb();
1581 };
1582
1583 var nextWithBoolean = function nextWithBoolean(res) {
1584 if (typeof res === 'boolean') {

Callers 7

canDeactivateFunction · 0.70
canActivateFunction · 0.70
deactivateFunction · 0.70
onErrorFunction · 0.70
nextWithBooleanFunction · 0.70
nextWithDataFunction · 0.70
vue-router.jsFile · 0.70

Calls 3

warn$1Function · 0.85
cleanupFunction · 0.85
cbFunction · 0.70

Tested by

no test coverage detected