Comparing version 0.0.13 to 0.0.14
@@ -87,6 +87,10 @@ "use strict"; | ||
this.history.setPath(path, options.replace); | ||
var result; | ||
if (!options.silent) { | ||
return this.processPath(path); | ||
result = this.processPath(path); | ||
} | ||
return Promise.resolve().then(function () { | ||
else { | ||
result = Promise.resolve(); | ||
} | ||
return result.then(function () { | ||
if (_this.onNavigate) { | ||
@@ -93,0 +97,0 @@ _this.onNavigate(oldPath, path); |
{ | ||
"name": "steersman", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Lightweight JS router for browsers & node", | ||
@@ -5,0 +5,0 @@ "main": "lib/Router.js", |
Sorry, the diff of this file is not supported yet
120335
984