scripts/wee-routes.js
function router(config = {}) {
    $extend(settings, config);

    // Update scrollBehavior property in case that was changed
    history.scrollBehavior = settings.scrollBehavior;
    history.transition = settings.transition;

    return router;
}
function router(config = {}) {
    $extend(settings, config);

    // Update scrollBehavior property in case that was changed
    history.scrollBehavior = settings.scrollBehavior;
    history.transition = settings.transition;

    return router;
}
function router ( config = { } ) { $extend ( settings , config ) ; // Update scrollBehavior property in case that was changed history . scrollBehavior = settings . scrollBehavior ; history . transition = settings . transition ; return router ; }
Set base configurations for router

@param {Object} config
@returns {router}
Set base configurations for router