File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " vue-virtual-scroll-list" ,
3- "version" : " 1.3.4 " ,
3+ "version" : " 1.3.5 " ,
44 "description" : " A vue component support big amount data list with high scroll performance." ,
5- "main" : " /dist /index.js" ,
5+ "main" : " ./src /index.js" ,
66 "files" : [
7- " /scr/index.js" ,
8- " /dist/index.js"
7+ " ./src/index.js"
98 ],
109 "scripts" : {
1110 "test" : " rm -rf coverage && jest" ,
Original file line number Diff line number Diff line change 274274 index = parseInt ( index , 10 )
275275 index = Math . max ( 0 , index )
276276
277- var lastStart = delta . total - delta . keeps
278- var isLast = ( index <= delta . total && index >= lastStart ) || ( index > delta . total )
277+ const lastStart = delta . total - delta . keeps
278+ const isLast = ( index <= delta . total && index >= lastStart ) || ( index > delta . total )
279279 if ( isLast ) {
280280 end = delta . total - 1
281281 start = Math . max ( 0 , lastStart )
You can’t perform that action at this time.
0 commit comments