@motorcycle/router
Version:
Standard Router Driver for Motorcycle.js
14 lines • 492 B
JavaScript
import { curry2 } from '@most/prelude';
export function history(routerSource) {
return routerSource.history();
}
export var path = curry2(function path(route, routerSource) {
return routerSource.path(route);
});
export var define = curry2(function define(routes, routerSource) {
return routerSource.define(routes);
});
export var createHref = curry2(function createHref(route, routerSource) {
return routerSource.createHref(route);
});
//# sourceMappingURL=api-wrappers.js.map