Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e8b4d60

Browse files
committedApr 24, 2017
[build] 2.5.1
1 parent 19cf05c commit e8b4d60

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed
 

‎dist/vue-router.common.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-router v2.5.0
2+
* vue-router v2.5.1
33
* (c) 2017 Evan You
44
* @license MIT
55
*/
@@ -1174,8 +1174,8 @@ function compileRouteRegex (path) {
11741174
if (process.env.NODE_ENV !== 'production') {
11751175
var keys = {};
11761176
regex.keys.forEach(function (key) {
1177-
warn(!keys[key], ("Duplicate param keys in route with path: \"" + path + "\""));
1178-
keys[key] = true;
1177+
warn(!keys[key.name], ("Duplicate param keys in route with path: \"" + path + "\""));
1178+
keys[key.name] = true;
11791179
});
11801180
}
11811181
return regex
@@ -2446,7 +2446,7 @@ function createHref (base, fullPath, mode) {
24462446
}
24472447

24482448
VueRouter.install = install;
2449-
VueRouter.version = '2.5.0';
2449+
VueRouter.version = '2.5.1';
24502450

24512451
if (inBrowser && window.Vue) {
24522452
window.Vue.use(VueRouter);

‎dist/vue-router.esm.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-router v2.5.0
2+
* vue-router v2.5.1
33
* (c) 2017 Evan You
44
* @license MIT
55
*/
@@ -1172,8 +1172,8 @@ function compileRouteRegex (path) {
11721172
if (process.env.NODE_ENV !== 'production') {
11731173
var keys = {};
11741174
regex.keys.forEach(function (key) {
1175-
warn(!keys[key], ("Duplicate param keys in route with path: \"" + path + "\""));
1176-
keys[key] = true;
1175+
warn(!keys[key.name], ("Duplicate param keys in route with path: \"" + path + "\""));
1176+
keys[key.name] = true;
11771177
});
11781178
}
11791179
return regex
@@ -2444,7 +2444,7 @@ function createHref (base, fullPath, mode) {
24442444
}
24452445

24462446
VueRouter.install = install;
2447-
VueRouter.version = '2.5.0';
2447+
VueRouter.version = '2.5.1';
24482448

24492449
if (inBrowser && window.Vue) {
24502450
window.Vue.use(VueRouter);

‎dist/vue-router.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-router v2.5.0
2+
* vue-router v2.5.1
33
* (c) 2017 Evan You
44
* @license MIT
55
*/
@@ -1178,8 +1178,8 @@ function compileRouteRegex (path) {
11781178
{
11791179
var keys = {};
11801180
regex.keys.forEach(function (key) {
1181-
warn(!keys[key], ("Duplicate param keys in route with path: \"" + path + "\""));
1182-
keys[key] = true;
1181+
warn(!keys[key.name], ("Duplicate param keys in route with path: \"" + path + "\""));
1182+
keys[key.name] = true;
11831183
});
11841184
}
11851185
return regex
@@ -2450,7 +2450,7 @@ function createHref (base, fullPath, mode) {
24502450
}
24512451

24522452
VueRouter.install = install;
2453-
VueRouter.version = '2.5.0';
2453+
VueRouter.version = '2.5.1';
24542454

24552455
if (inBrowser && window.Vue) {
24562456
window.Vue.use(VueRouter);

‎dist/vue-router.min.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.