From: Eduardo San Martin Morote Date: Fri, 3 Apr 2020 13:09:06 +0000 (+0200) Subject: chore: typos X-Git-Tag: v4.0.0-alpha.5~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2703ec409706e0b3fc0135fb493246ddea591de8;p=thirdparty%2Fvuejs%2Frouter.git chore: typos --- diff --git a/src/router.ts b/src/router.ts index e69454de..e06595ec 100644 --- a/src/router.ts +++ b/src/router.ts @@ -153,7 +153,7 @@ export function createRouter({ matcher.removeRoute(recordMatcher) } else if (__DEV__) { // TODO: adapt if we allow Symbol as a name - warn(`Cannot remove non-existant route "${name}"`) + warn(`Cannot remove non-existent route "${name}"`) } } @@ -270,7 +270,7 @@ export function createRouter({ return pushWithRedirect(error.to, redirectedFrom || toLocation) } - // unkwnown error + // unknown error triggerError(error) } @@ -357,7 +357,7 @@ export function createRouter({ // check in-component beforeRouteEnter guards = extractComponentsGuards( - // the type does'nt matter as we are comparing an object per reference + // the type doesn't matter as we are comparing an object per reference to.matched.filter(record => from.matched.indexOf(record as any) < 0), 'beforeRouteEnter', to,