Commit 8ead9d2 1 parent 98b4d68 commit 8ead9d2 Copy full SHA for 8ead9d2
File tree 4 files changed +6
-6
lines changed
test/unit/features/directives
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ declare type WeexEnvironment = {
28
28
appName: string ; // mobile app name or browser name
29
29
appVersion: string ;
30
30
31
- // informations of current running device
31
+ // information about current running device
32
32
deviceModel: string ; // phone device model
33
33
deviceWidth: number ;
34
34
deviceHeight: number ;
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ export function parse (
380
380
}
381
381
} ,
382
382
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
384
384
// comments should still be allowed, but ignored
385
385
if ( currentParent ) {
386
386
const child : ASTText = {
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ describe('Directive v-on', () => {
280
280
expect ( spy . calls . count ( ) ) . toBe ( 1 )
281
281
} )
282
282
283
- it ( 'should support system modifers with exact' , ( ) => {
283
+ it ( 'should support system modifiers with exact' , ( ) => {
284
284
vm = new Vue ( {
285
285
el,
286
286
template : `
@@ -405,7 +405,7 @@ describe('Directive v-on', () => {
405
405
Vue . config . keyCodes = Object . create ( null )
406
406
} )
407
407
408
- it ( 'should override build -in keyCode' , ( ) => {
408
+ it ( 'should override built -in keyCode' , ( ) => {
409
409
Vue . config . keyCodes . up = [ 1 , 87 ]
410
410
vm = new Vue ( {
411
411
el,
@@ -420,7 +420,7 @@ describe('Directive v-on', () => {
420
420
e . keyCode = 1
421
421
} )
422
422
expect ( spy ) . toHaveBeenCalledTimes ( 2 )
423
- // should not affect build -in down keycode
423
+ // should not affect built -in down keycode
424
424
triggerEvent ( vm . $el , 'keyup' , e => {
425
425
e . keyCode = 40
426
426
} )
Original file line number Diff line number Diff line change 7
7
PropsDefinition
8
8
} from "./options" ;
9
9
10
- // Expose some types for backword compatibility...
10
+ // Expose some types for backward compatibility...
11
11
declare namespace Vue {
12
12
// vue.d.ts
13
13
export type CreateElement = V . CreateElement ;
You can’t perform that action at this time.
0 commit comments