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

Commit c277a6e

Browse files
committed
remove dead code
1 parent 0b55b89 commit c277a6e

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

dist/ko-component-router.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,11 +1227,6 @@ return /******/ (function(modules) { // webpackBootstrap
12271227
if (history.state && history.state[ctx.config.depth + ctx.pathname()]) {
12281228
var newState = history.state;
12291229
delete newState[ctx.config.depth + ctx.pathname()];
1230-
// history.replaceState(
1231-
// newState,
1232-
// document.title,
1233-
// '' === ctx.canonicalPath() ? ctx.config.base : ctx.canonicalPath()
1234-
// )
12351230
}
12361231
};
12371232

src/state.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ module.exports = {
3434
if (history.state && history.state[ctx.config.depth + ctx.pathname()]) {
3535
const newState = history.state
3636
delete newState[ctx.config.depth + ctx.pathname()]
37-
// history.replaceState(
38-
// newState,
39-
// document.title,
40-
// '' === ctx.canonicalPath() ? ctx.config.base : ctx.canonicalPath()
41-
// )
4237
}
4338
}
4439

0 commit comments

Comments
 (0)