cycle-route
Advanced tools
Comparing version 1.0.3 to 2.0.0
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports['default'] = makeRouter; | ||
exports.makeRouter = makeRouter; | ||
@@ -40,4 +40,2 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | ||
}; | ||
} | ||
module.exports = exports['default']; | ||
} |
{ | ||
"name": "cycle-route", | ||
"version": "1.0.3", | ||
"version": "2.0.0", | ||
"description": "A Cycle.js helper for routing", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -34,3 +34,3 @@ # Cycle Route | ||
```js | ||
import makeRouter from 'cycle-route' | ||
import { makeRouter } from 'cycle-route' | ||
@@ -50,3 +50,3 @@ const router = makeRouter({ | ||
import { makePushStateDriver } from 'cycle-pushstate-driver' | ||
import makeRouter from 'cycle-route' | ||
import { makeRouter } from 'cycle-route' | ||
import routes from 'routes' | ||
@@ -53,0 +53,0 @@ |
4006
32