diff --git a/dist/ko-component-router.js b/dist/ko-component-router.js index a337084..2b5332d 100644 --- a/dist/ko-component-router.js +++ b/dist/ko-component-router.js @@ -1227,11 +1227,6 @@ return /******/ (function(modules) { // webpackBootstrap if (history.state && history.state[ctx.config.depth + ctx.pathname()]) { var newState = history.state; delete newState[ctx.config.depth + ctx.pathname()]; - // history.replaceState( - // newState, - // document.title, - // '' === ctx.canonicalPath() ? ctx.config.base : ctx.canonicalPath() - // ) } }; diff --git a/src/state.js b/src/state.js index 33b8bd3..8e56b95 100644 --- a/src/state.js +++ b/src/state.js @@ -34,11 +34,6 @@ module.exports = { if (history.state && history.state[ctx.config.depth + ctx.pathname()]) { const newState = history.state delete newState[ctx.config.depth + ctx.pathname()] - // history.replaceState( - // newState, - // document.title, - // '' === ctx.canonicalPath() ? ctx.config.base : ctx.canonicalPath() - // ) } }