8000 correct a typo (#920) · vuejs/vue-router@03c9cbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 03c9cbd

Browse files
ZeroDark1991fnlctrl
authored andcommitte F12D d
correct a typo (#920)
isAbsoloute -> isAbsolute
1 parent f102851 commit 03c9cbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/history/hash.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ export default class HashHistory {
4747
}
4848

4949
formatPath (path, append) {
50-
const isAbsoloute = path.charAt(0) === '/'
50+
const isAbsolute = path.charAt(0) === '/'
5151
const prefix = '#' + (this.hashbang ? '!' : '')
52-
return isAbsoloute
52+
return isAbsolute
5353
? prefix + path
5454
: prefix + resolvePath(
5555
location.hash.replace(/^#!?/, ''),

0 commit comments

Comments
 (0)
0