File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments