Skip to content

Commit

Permalink
build: bundle 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 8, 2019
1 parent 9b30e4c commit 6b60fc9
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 52 deletions.
19 changes: 7 additions & 12 deletions dist/vue-router.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.1.1
* vue-router v3.1.2
* (c) 2019 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1063,9 +1063,9 @@ var Link = {
var handler = function (e) {
if (guardEvent(e)) {
if (this$1.replace) {
router.replace(location, null, noop);
router.replace(location, noop);
} else {
router.push(location, null, noop);
router.push(location, noop);
}
}
};
Expand Down Expand Up @@ -2505,14 +2505,9 @@ function getHash () {

function getUrl (path) {
var href = window.location.href;
var hashPos = href.indexOf('#');
var base = hashPos > -1 ? href.slice(0, hashPos) : href;

var searchPos = base.indexOf('?');
var query = searchPos > -1 ? base.slice(searchPos) : '';
base = query ? base.slice(0, searchPos) : base;

return (base + "#" + (path + query))
var i = href.indexOf('#');
var base = i >= 0 ? href.slice(0, i) : href;
return (base + "#" + path)
}

function pushHash (path) {
Expand Down Expand Up @@ -2836,7 +2831,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.1.1';
VueRouter.version = '3.1.2';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
19 changes: 7 additions & 12 deletions dist/vue-router.esm.browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.1.1
* vue-router v3.1.2
* (c) 2019 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1042,9 +1042,9 @@ var Link = {
const handler = e => {
if (guardEvent(e)) {
if (this.replace) {
router.replace(location, null, noop);
router.replace(location, noop);
} else {
router.push(location, null, noop);
router.push(location, noop);
}
}
};
Expand Down Expand Up @@ -2456,14 +2456,9 @@ function getHash () {

function getUrl (path) {
const href = window.location.href;
const hashPos = href.indexOf('#');
let base = hashPos > -1 ? href.slice(0, hashPos) : href;

const searchPos = base.indexOf('?');
const query = searchPos > -1 ? base.slice(searchPos) : '';
base = query ? base.slice(0, searchPos) : base;

return `${base}#${path + query}`
const i = href.indexOf('#');
const base = i >= 0 ? href.slice(0, i) : href;
return `${base}#${path}`
}

function pushHash (path) {
Expand Down Expand Up @@ -2784,7 +2779,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.1.1';
VueRouter.version = '3.1.2';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-router.esm.browser.min.js

Large diffs are not rendered by default.

19 changes: 7 additions & 12 deletions dist/vue-router.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.1.1
* vue-router v3.1.2
* (c) 2019 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1061,9 +1061,9 @@ var Link = {
var handler = function (e) {
if (guardEvent(e)) {
if (this$1.replace) {
router.replace(location, null, noop);
router.replace(location, noop);
} else {
router.push(location, null, noop);
router.push(location, noop);
}
}
};
Expand Down Expand Up @@ -2503,14 +2503,9 @@ function getHash () {

function getUrl (path) {
var href = window.location.href;
var hashPos = href.indexOf('#');
var base = hashPos > -1 ? href.slice(0, hashPos) : href;

var searchPos = base.indexOf('?');
var query = searchPos > -1 ? base.slice(searchPos) : '';
base = query ? base.slice(0, searchPos) : base;

return (base + "#" + (path + query))
var i = href.indexOf('#');
var base = i >= 0 ? href.slice(0, i) : href;
return (base + "#" + path)
}

function pushHash (path) {
Expand Down Expand Up @@ -2834,7 +2829,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.1.1';
VueRouter.version = '3.1.2';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
19 changes: 7 additions & 12 deletions dist/vue-router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.1.1
* vue-router v3.1.2
* (c) 2019 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -1067,9 +1067,9 @@ var Link = {
var handler = function (e) {
if (guardEvent(e)) {
if (this$1.replace) {
router.replace(location, null, noop);
router.replace(location, noop);
} else {
router.push(location, null, noop);
router.push(location, noop);
}
}
};
Expand Down Expand Up @@ -2509,14 +2509,9 @@ function getHash () {

function getUrl (path) {
var href = window.location.href;
var hashPos = href.indexOf('#');
var base = hashPos > -1 ? href.slice(0, hashPos) : href;

var searchPos = base.indexOf('?');
var query = searchPos > -1 ? base.slice(searchPos) : '';
base = query ? base.slice(0, searchPos) : base;

return (base + "#" + (path + query))
var i = href.indexOf('#');
var base = i >= 0 ? href.slice(0, i) : href;
return (base + "#" + path)
}

function pushHash (path) {
Expand Down Expand Up @@ -2840,7 +2835,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.1.1';
VueRouter.version = '3.1.2';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-router.min.js

Large diffs are not rendered by default.

0 comments on commit 6b60fc9

Please sign in to comment.