Comparing version 2.0.3 to 2.0.4
@@ -111,3 +111,6 @@ var routes = require('routes'); | ||
if(url != newURL) { | ||
loc.update(newURL,{trigger: (options && options.silent) ? false : true}); | ||
loc.update(newURL,{ | ||
trigger: (options && options.silent) ? false : true, | ||
replace: (options && options.replace) ? true : false | ||
}); | ||
} else if(section.duplicate || !section.useURL) { | ||
@@ -114,0 +117,0 @@ // Check if duplicate is set. The check is done here since, onhashchange event triggers |
{ | ||
"name": "bw-router", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "associate objects with routes. Used by bigwheel to route sections", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ # bw-router |
@@ -0,0 +0,0 @@ var test = require( 'tape' ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
278
12591