Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
clear: d(function () {
if (!this.__setData__.length) return;
clear.call(this.__setData__);
this.emit('_clear');
}),
delete: d(function (value) {
_onClear: d(function () {
if (this.__redo__) clear.call(this.__redo__);
this.__nextIndex__ = 0;
})
})));
a.deep(called, ['root']);
clear.call(called);
var emitted;
router.once('route:before', function (event) { emitted = event.path; });
a.deep(router.routeEvent(event, '/foo/'), { conf: conf.foo, result: undefined, event: event });
a(emitted, '/foo/');
a.deep(called, ['foo']);
clear.call(called);
a(router.routeEvent(event, 'miszka'), false);
a.deep(called, []);
a.deep(router.routeEvent(event, 'marko'), { conf: conf.marko, result: undefined, event: event });
a.deep(called, ['marko']);
clear.call(called);
a.deep(router.routeEvent(event, 'bar/dwa'), { conf: conf['bar/dwa'], result: obj, event: event });
a.deep(called, ['bar/dwa']);
clear.call(called);
a.deep(router.routeEvent(event, 'elo/dwa'),
{ conf: conf['elo/dwa'], result: undefined, event: event });
a.deep(called, ['elo/dwa']);
clear.call(called);
a(router.routeEvent(event, 'elo/dwa/marko'), false);
a.deep(called, ['elo/dwa/*:match']);
clear.call(called);
a.deep(router.routeEvent(event, 'elo/dwa/foo'),
{ conf: conf['elo/dwa/[a-z]+'], result: undefined, event: event });
clear: d(function () {
if (!this.__mapKeysData__.length) return;
clear.call(this.__mapKeysData__);
clear.call(this.__mapValuesData__);
this.emit('_clear');
}),
delete: d(function (key) {
clear: d(function () {
if (!this.__setData__.length) return;
clear.call(this.__setData__);
this.emit('_clear');
}),
delete: d(function (value) {
_onClear: d(function () {
clear.call(this.__list__);
this.__nextIndex__ = 0;
})
})));
_onClear: d(function () {
if (this.__redo__) clear.call(this.__redo__);
this.__nextIndex__ = 0;
})
})
_onClear: d(function () {
if (this.__redo__) clear.call(this.__redo__);
this.__nextIndex__ = 0;
})
})
_onClear: d(function () {
clear.call(this.__list__);
this.__nextIndex__ = 0;
})
})));
_onClear: d(function () {
if (this.__redo__) clear.call(this.__redo__);
this.__nextIndex__ = 0;
})
})));