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

Function cb

06.Router/basic/js/vue.js:369–373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367
368 function cancellable(fn) {
369 var cb = function cb() {
370 if (!cb.cancelled) {
371 return fn.apply(this, arguments);
372 }
373 };
374 cb.cancel = function () {
375 cb.cancelled = true;
376 };

Callers 15

applyTransitionFunction · 0.70
onRemovedFunction · 0.70
vue.jsFile · 0.70
nextFunction · 0.70
miscMixinFunction · 0.70
domAPIFunction · 0.70
realCbFunction · 0.70
insertFunction · 0.70
appendFunction · 0.70
beforeWithCbFunction · 0.70
removeWithCbFunction · 0.70
resolveAsyncComponentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected