Skip to content

Commit 947c9e9

Browse files
committed
Fix typos.
1 parent 95bf0c0 commit 947c9e9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

build/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const builds = {
3030
env: 'production',
3131
banner
3232
},
33-
// Runtime+compiler standalone developement build.
33+
// Runtime+compiler standalone development build.
3434
'web-standalone-dev': {
3535
entry: path.resolve(__dirname, '../src/entries/web-runtime-with-compiler.js'),
3636
dest: path.resolve(__dirname, '../dist/vue.js'),

src/core/observer/watcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export default class Watcher {
204204
}
205205

206206
/**
207-
* Remove self from all dependencies' subcriber list.
207+
* Remove self from all dependencies' subscriber list.
208208
*/
209209
teardown () {
210210
if (this.active) {

src/server/create-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function createRenderer ({
2121
} {
2222
if (process.env.VUE_ENV !== 'server') {
2323
warn(
24-
'You are using createRenderer without setting VUE_ENV enviroment variable to "server". ' +
24+
'You are using createRenderer without setting VUE_ENV environment variable to "server". ' +
2525
'It is recommended to set VUE_ENV=server this will help rendering performance, ' +
2626
'by turning data observation off.'
2727
)

test/ssr/ssr-env.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('SSR: VUE_ENV=server', () => {
3939
it('should warn when not set', () => {
4040
process.env.VUE_ENV = ''
4141
createRenderer()
42-
expect('You are using createRenderer without setting VUE_ENV enviroment').toHaveBeenWarned()
42+
expect('You are using createRenderer without setting VUE_ENV environment').toHaveBeenWarned()
4343
process.env.VUE_ENV = 'server'
4444
})
4545
})

test/unit/modules/vdom/modules/class.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { patch } from 'web/runtime/patch'
22
import VNode from 'core/vdom/vnode'
33

44
describe('vdom class module', () => {
5-
it('shuold create an element with staticClass', () => {
5+
it('should create an element with staticClass', () => {
66
const vnode = new VNode('p', { staticClass: 'class1' })
77
const elm = patch(null, vnode)
88
expect(elm).toHaveClass('class1')

0 commit comments

Comments
 (0)