Comparing version 0.0.4 to 0.0.5
@@ -25,7 +25,7 @@ 'use strict'; | ||
var store = createStore('location', function () { | ||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; | ||
var action = arguments[1]; | ||
if (!state.pathname) return readLocation(); | ||
if (!state) return readLocation(); | ||
@@ -32,0 +32,0 @@ switch (action.type) { |
{ | ||
"name": "rootr", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Router for single page app.", | ||
@@ -39,7 +39,7 @@ "repository": { | ||
"peerDependencies": { | ||
"fluxury": "3.0.0" | ||
}, | ||
"dependencies": { | ||
"fluxury": "3.0.0", | ||
"formula": "^2.1.6" | ||
} | ||
} |
110261
13
301
- Removedfluxury@3.0.0