Skip to content

Fixed typos. #3956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const builds = {
env: 'production',
banner
},
// Runtime+compiler standalone developement build.
// Runtime+compiler standalone development build.
'web-standalone-dev': {
entry: path.resolve(__dirname, '../src/entries/web-runtime-with-compiler.js'),
dest: path.resolve(__dirname, '../dist/vue.js'),
Expand Down
2 changes: 1 addition & 1 deletion src/core/observer/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default class Watcher {
}

/**
* Remove self from all dependencies' subcriber list.
* Remove self from all dependencies' subscriber list.
*/
teardown () {
if (this.active) {
Expand Down
2 changes: 1 addition & 1 deletion src/server/create-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function createRenderer ({
} {
if (process.env.VUE_ENV !== 'server') {
warn(
'You are using createRenderer without setting VUE_ENV enviroment variable to "server". ' +
'You are using createRenderer without setting VUE_ENV environment variable to "server". ' +
'It is recommended to set VUE_ENV=server this will help rendering performance, ' +
'by turning data observation off.'
)
Expand Down
2 changes: 1 addition & 1 deletion test/ssr/ssr-env.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('SSR: VUE_ENV=server', () => {
it('should warn when not set', () => {
process.env.VUE_ENV = ''
createRenderer()
expect('You are using createRenderer without setting VUE_ENV enviroment').toHaveBeenWarned()
expect('You are using createRenderer without setting VUE_ENV environment').toHaveBeenWarned()
process.env.VUE_ENV = 'server'
})
})
2 changes: 1 addition & 1 deletion test/unit/modules/vdom/modules/class.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { patch } from 'web/runtime/patch'
import VNode from 'core/vdom/vnode'

describe('vdom class module', () => {
it('shuold create an element with staticClass', () => {
it('should create an element with staticClass', () => {
const vnode = new VNode('p', { staticClass: 'class1' })
const elm = patch(null, vnode)
expect(elm).toHaveClass('class1')
Expand Down