UNPKG

@motorcycle/router

Version:

Standard Router Driver for Motorcycle.js

17 lines 612 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var prelude_1 = require("@most/prelude"); function history(routerSource) { return routerSource.history(); } exports.history = history; exports.path = prelude_1.curry2(function path(route, routerSource) { return routerSource.path(route); }); exports.define = prelude_1.curry2(function define(routes, routerSource) { return routerSource.define(routes); }); exports.createHref = prelude_1.curry2(function createHref(route, routerSource) { return routerSource.createHref(route); }); //# sourceMappingURL=api-wrappers.js.map