File tree 2 files changed +13
-9
lines changed
2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * vue-router v2.0.0-rc.6
2
+ * vue-router v2.0.0-rc.7
3
3
* (c) 2016 Evan You
4
4
* @license MIT
5
5
*/
@@ -1609,12 +1609,6 @@ var HashHistory = (function (History) {
1609
1609
}
1610
1610
} ;
1611
1611
1612
- HashHistory . prototype . ensureURL = function ensureURL ( ) {
1613
- if ( getHash ( ) !== this . current . fullPath ) {
1614
- replaceHash ( this . current . fullPath )
1615
- }
1616
- } ;
1617
-
1618
1612
HashHistory . prototype . onHashChange = function onHashChange ( ) {
1619
1613
if ( ! ensureSlash ( ) ) {
1620
1614
return
@@ -1640,6 +1634,12 @@ var HashHistory = (function (History) {
1640
1634
window . history . go ( n )
1641
1635
} ;
1642
1636
1637
+ HashHistory . prototype . ensureURL = function ensureURL ( ) {
1638
+ if ( getHash ( ) !== this . current . fullPath ) {
1639
+ replaceHash ( this . current . fullPath )
1640
+ }
1641
+ } ;
1642
+
1643
1643
return HashHistory ;
1644
1644
} ( History ) ) ;
1645
1645
@@ -1716,6 +1716,10 @@ var AbstractHistory = (function (History) {
1716
1716
} )
1717
1717
} ;
1718
1718
1719
+ AbstractHistory . prototype . ensureURL = function ensureURL ( ) {
1720
+ // noop
1721
+ } ;
1722
+
1719
1723
return AbstractHistory ;
1720
1724
} ( History ) ) ;
1721
1725
You can’t perform that action at this time.
0 commit comments