Skip to content

Commit

Permalink
build: bundle 3.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Oct 26, 2020
1 parent 5cd78f7 commit 23bd2e1
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 16 deletions.
16 changes: 13 additions & 3 deletions dist/vue-router.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.4.7
* vue-router v3.4.8
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1882,7 +1882,17 @@ function scrollToPosition (shouldScroll, position) {
}

if (position) {
window.scrollTo(position.x, position.y);
// $flow-disable-line
if ('scrollBehavior' in document.documentElement.style) {
window.scrollTo({
left: position.x,
top: position.y,
// $flow-disable-line
behavior: shouldScroll.behavior
});
} else {
window.scrollTo(position.x, position.y);
}
}
}

Expand Down Expand Up @@ -3047,7 +3057,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.4.7';
VueRouter.version = '3.4.8';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;

Expand Down
16 changes: 13 additions & 3 deletions dist/vue-router.esm.browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.4.7
* vue-router v3.4.8
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1859,7 +1859,17 @@ function scrollToPosition (shouldScroll, position) {
}

if (position) {
window.scrollTo(position.x, position.y);
// $flow-disable-line
if ('scrollBehavior' in document.documentElement.style) {
window.scrollTo({
left: position.x,
top: position.y,
// $flow-disable-line
behavior: shouldScroll.behavior
});
} else {
window.scrollTo(position.x, position.y);
}
}
}

Expand Down Expand Up @@ -3013,7 +3023,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.4.7';
VueRouter.version = '3.4.8';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;

Expand Down
4 changes: 2 additions & 2 deletions dist/vue-router.esm.browser.min.js

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions dist/vue-router.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.4.7
* vue-router v3.4.8
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1880,7 +1880,17 @@ function scrollToPosition (shouldScroll, position) {
}

if (position) {
window.scrollTo(position.x, position.y);
// $flow-disable-line
if ('scrollBehavior' in document.documentElement.style) {
window.scrollTo({
left: position.x,
top: position.y,
// $flow-disable-line
behavior: shouldScroll.behavior
});
} else {
window.scrollTo(position.x, position.y);
}
}
}

Expand Down Expand Up @@ -3045,7 +3055,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.4.7';
VueRouter.version = '3.4.8';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;

Expand Down
16 changes: 13 additions & 3 deletions dist/vue-router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.4.7
* vue-router v3.4.8
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1886,7 +1886,17 @@
}

if (position) {
window.scrollTo(position.x, position.y);
// $flow-disable-line
if ('scrollBehavior' in document.documentElement.style) {
window.scrollTo({
left: position.x,
top: position.y,
// $flow-disable-line
behavior: shouldScroll.behavior
});
} else {
window.scrollTo(position.x, position.y);
}
}
}

Expand Down Expand Up @@ -3051,7 +3061,7 @@
}

VueRouter.install = install;
VueRouter.version = '3.4.7';
VueRouter.version = '3.4.8';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;

Expand Down
4 changes: 2 additions & 2 deletions dist/vue-router.min.js

Large diffs are not rendered by default.

0 comments on commit 23bd2e1

Please sign in to comment.