mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
* Typofixes - https://github.com/vlajos/misspell-fixer (#4013)
This commit is contained in:
parent
0c1d94a2c7
commit
74eb5a6302
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<h1 v-if="error.statusCode === 404">Page not found</h1>
|
||||
<h1 v-else>An error occured</h1>
|
||||
<h1 v-else>An error occurred</h1>
|
||||
<nuxt-link to="/">Home page</nuxt-link>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<h1 v-if="error.statusCode === 404">Page not found</h1>
|
||||
<h1 v-else>An error occured</h1>
|
||||
<h1 v-else>An error occurred</h1>
|
||||
<nuxt-link to="/">Home page</nuxt-link>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -29,7 +29,7 @@ export interface Person {
|
||||
gender: string
|
||||
ip_address: string
|
||||
avatar: string
|
||||
addres: PersonAddress
|
||||
address: PersonAddress
|
||||
}
|
||||
|
||||
export interface State {
|
||||
|
@ -82,7 +82,7 @@ export default {
|
||||
if (worker) worker.postMessage({ hello: 'world' })
|
||||
else this.notification = 'No more test workers available'
|
||||
},
|
||||
long (miliseconds) {
|
||||
long (milliseconds) {
|
||||
let worker = this.workers.shift()
|
||||
|
||||
if (worker) {
|
||||
@ -96,7 +96,7 @@ export default {
|
||||
worker = this.longRunningWorkers[ this.longIndex++ % this.longRunningWorkers.length]
|
||||
}
|
||||
|
||||
worker.postMessage({ action: 'expensive', time: miliseconds })
|
||||
worker.postMessage({ action: 'expensive', time: milliseconds })
|
||||
},
|
||||
freeWorker () {
|
||||
// we can't really free a worker, we can only terminate it and create a new
|
||||
|
@ -665,7 +665,7 @@ async function mountApp(__app) {
|
||||
if (!path) {
|
||||
normalizeComponents(router.currentRoute, router.currentRoute)
|
||||
showNextPage.call(_app, router.currentRoute)
|
||||
// Dont call fixPrepatch.call(_app, router.currentRoute, router.currentRoute) since it's first render
|
||||
// Don't call fixPrepatch.call(_app, router.currentRoute, router.currentRoute) since it's first render
|
||||
mount()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user