Skip to content

Commit fc6332f

Browse files
committed
[build] 2.0.0-rc.7
1 parent 59cee10 commit fc6332f

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

dist/vue-router.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-router v2.0.0-rc.6
2+
* vue-router v2.0.0-rc.7
33
* (c) 2016 Evan You
44
* @license MIT
55
*/
@@ -1609,12 +1609,6 @@ var HashHistory = (function (History) {
16091609
}
16101610
};
16111611

1612-
HashHistory.prototype.ensureURL = function ensureURL () {
1613-
if (getHash() !== this.current.fullPath) {
1614-
replaceHash(this.current.fullPath)
1615-
}
1616-
};
1617-
16181612
HashHistory.prototype.onHashChange = function onHashChange () {
16191613
if (!ensureSlash()) {
16201614
return
@@ -1640,6 +1634,12 @@ var HashHistory = (function (History) {
16401634
window.history.go(n)
16411635
};
16421636

1637+
HashHistory.prototype.ensureURL = function ensureURL () {
1638+
if (getHash() !== this.current.fullPath) {
1639+
replaceHash(this.current.fullPath)
1640+
}
1641+
};
1642+
16431643
return HashHistory;
16441644
}(History));
16451645

@@ -1716,6 +1716,10 @@ var AbstractHistory = (function (History) {
17161716
})
17171717
};
17181718

1719+
AbstractHistory.prototype.ensureURL = function ensureURL () {
1720+
// noop
1721+
};
1722+
17191723
return AbstractHistory;
17201724
}(History));
17211725

0 commit comments

Comments
 (0)