Skip to content

Commit 8ead9d2

Browse files
warmsocksShaun Case
and
Shaun Case
authored
chore: spelling and grammar (vuejs#11481)
Co-authored-by: Shaun Case <[email protected]>
1 parent 98b4d68 commit 8ead9d2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

flow/weex.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare type WeexEnvironment = {
2828
appName: string; // mobile app name or browser name
2929
appVersion: string;
3030

31-
// informations of current running device
31+
// information about current running device
3232
deviceModel: string; // phone device model
3333
deviceWidth: number;
3434
deviceHeight: number;

src/compiler/parser/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export function parse (
380380
}
381381
},
382382
comment (text: string, start, end) {
383-
// adding anyting as a sibling to the root node is forbidden
383+
// adding anything as a sibling to the root node is forbidden
384384
// comments should still be allowed, but ignored
385385
if (currentParent) {
386386
const child: ASTText = {

test/unit/features/directives/on.spec.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ describe('Directive v-on', () => {
280280
expect(spy.calls.count()).toBe(1)
281281
})
282282

283-
it('should support system modifers with exact', () => {
283+
it('should support system modifiers with exact', () => {
284284
vm = new Vue({
285285
el,
286286
template: `
@@ -405,7 +405,7 @@ describe('Directive v-on', () => {
405405
Vue.config.keyCodes = Object.create(null)
406406
})
407407

408-
it('should override build-in keyCode', () => {
408+
it('should override built-in keyCode', () => {
409409
Vue.config.keyCodes.up = [1, 87]
410410
vm = new Vue({
411411
el,
@@ -420,7 +420,7 @@ describe('Directive v-on', () => {
420420
e.keyCode = 1
421421
})
422422
expect(spy).toHaveBeenCalledTimes(2)
423-
// should not affect build-in down keycode
423+
// should not affect built-in down keycode
424424
triggerEvent(vm.$el, 'keyup', e => {
425425
e.keyCode = 40
426426
})

types/umd.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
PropsDefinition
88
} from "./options";
99

10-
// Expose some types for backword compatibility...
10+
// Expose some types for backward compatibility...
1111
declare namespace Vue {
1212
// vue.d.ts
1313
export type CreateElement = V.CreateElement;

0 commit comments

Comments
 (0)