diff --git a/flow/weex.js b/flow/weex.js index 2834313f50e..6d21a57934a 100644 --- a/flow/weex.js +++ b/flow/weex.js @@ -28,7 +28,7 @@ declare type WeexEnvironment = { appName: string; // mobile app name or browser name appVersion: string; - // informations of current running device + // information about current running device deviceModel: string; // phone device model deviceWidth: number; deviceHeight: number; diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index 4debf62a1f4..342d04ff864 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -380,7 +380,7 @@ export function parse ( } }, comment (text: string, start, end) { - // adding anyting as a sibling to the root node is forbidden + // adding anything as a sibling to the root node is forbidden // comments should still be allowed, but ignored if (currentParent) { const child: ASTText = { diff --git a/test/unit/features/directives/on.spec.js b/test/unit/features/directives/on.spec.js index b7801a82f22..5e755a34f89 100644 --- a/test/unit/features/directives/on.spec.js +++ b/test/unit/features/directives/on.spec.js @@ -280,7 +280,7 @@ describe('Directive v-on', () => { expect(spy.calls.count()).toBe(1) }) - it('should support system modifers with exact', () => { + it('should support system modifiers with exact', () => { vm = new Vue({ el, template: ` @@ -405,7 +405,7 @@ describe('Directive v-on', () => { Vue.config.keyCodes = Object.create(null) }) - it('should override build-in keyCode', () => { + it('should override built-in keyCode', () => { Vue.config.keyCodes.up = [1, 87] vm = new Vue({ el, @@ -420,7 +420,7 @@ describe('Directive v-on', () => { e.keyCode = 1 }) expect(spy).toHaveBeenCalledTimes(2) - // should not affect build-in down keycode + // should not affect built-in down keycode triggerEvent(vm.$el, 'keyup', e => { e.keyCode = 40 }) diff --git a/types/umd.d.ts b/types/umd.d.ts index 618d484e48d..d1dc8d15d66 100644 --- a/types/umd.d.ts +++ b/types/umd.d.ts @@ -7,7 +7,7 @@ import { PropsDefinition } from "./options"; -// Expose some types for backword compatibility... +// Expose some types for backward compatibility... declare namespace Vue { // vue.d.ts export type CreateElement = V.CreateElement;