File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 80
80
for ( var i = 0 ; i < items . length ; i ++ ) {
81
81
if ( items [ i ] . title . toLowerCase ( ) . indexOf ( query . toLowerCase ( ) ) >= 0 || query . trim ( ) === '' ) found . push ( i ) ;
82
82
}
83
- return found ; //return array with mathced indexes
83
+ return found ; //return array with matched indexes
84
84
} ,
85
85
// Item height
86
86
height : $theme . ios ? 63 : ( $theme . md ? 73 : 77 ) ,
94
94
95
95
return $render ;
96
96
}
97
- </ script >
97
+ </ script >
Original file line number Diff line number Diff line change 72
72
for ( var i = 0 ; i < items . length ; i ++ ) {
73
73
if ( items [ i ] . title . toLowerCase ( ) . indexOf ( query . toLowerCase ( ) ) >= 0 || query . trim ( ) === '' ) found . push ( i ) ;
74
74
}
75
- return found ; //return array with mathced indexes
75
+ return found ; //return array with matched indexes
76
76
} ,
77
77
// List item render
78
78
renderItem ( item ) {
99
99
100
100
return $render ;
101
101
}
102
- </ script >
102
+ </ script >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default () => {
22
22
)
23
23
found . push ( i ) ;
24
24
}
25
- return found ; // return array with mathced indexes
25
+ return found ; // return array with matched indexes
26
26
} ;
27
27
const renderExternal = ( vl , newData ) => {
28
28
setVlData ( { ...newData } ) ;
Original file line number Diff line number Diff line change 28
28
if (items[i].title .toLowerCase ().indexOf (query .toLowerCase ()) >= 0 || query .trim () === ' ' )
29
29
found .push (i);
30
30
}
31
- return found; // return array with mathced indexes
31
+ return found; // return array with matched indexes
32
32
}
33
33
34
34
function renderExternal (virtualList , virtualListData ) {
You can’t perform that action at this time.
0 commit comments