Skip to content

chore: spelling and grammar. fix #11480 #11481

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
Jul 1, 2020
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 flow/weex.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/parser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
6 changes: 3 additions & 3 deletions test/unit/features/directives/on.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: `
Expand Down Expand Up @@ -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,
Expand All @@ -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
})
Expand Down
2 changes: 1 addition & 1 deletion types/umd.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down