Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyWebb committed Jan 5, 2016
1 parent 0b55b89 commit c277a6e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions dist/ko-component-router.js
Expand Up @@ -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()
// )
}
};

Expand Down
5 changes: 0 additions & 5 deletions src/state.js
Expand Up @@ -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()
// )
}
}

Expand Down

0 comments on commit c277a6e

Please sign in to comment.