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