Comparing version 2.0.5 to 2.0.6
@@ -64,3 +64,3 @@ var routes = require('routes'); | ||
if( global.location ) { | ||
loc.start({pushState: this.s.pushState!==undefined ? this.s.pushState : true}); | ||
loc.start({pushState: this.s.pushState!==undefined ? this.s.pushState : true, root: this.s.root || '/'}); | ||
this.hasPushState = loc.hasPushState(); | ||
@@ -67,0 +67,0 @@ loc.onChange(this.onURL); |
{ | ||
"name": "bw-router", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "associate objects with routes. Used by bigwheel to route sections", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12661