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 1
1
{
2
2
"name" : " vue-virtual-scroll-list" ,
3
- "version" : " 1.3.4 " ,
3
+ "version" : " 1.3.5 " ,
4
4
"description" : " A vue component support big amount data list with high scroll performance." ,
5
- "main" : " /dist /index.js" ,
5
+ "main" : " ./src /index.js" ,
6
6
"files" : [
7
- " /scr/index.js" ,
8
- " /dist/index.js"
7
+ " ./src/index.js"
9
8
],
10
9
"scripts" : {
11
10
"test" : " rm -rf coverage && jest" ,
Original file line number Diff line number Diff line change 274
274
index = parseInt ( index , 10 )
275
275
index = Math . max ( 0 , index )
276
276
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 )
279
279
if ( isLast ) {
280
280
end = delta . total - 1
281
281
start = Math . max ( 0 , lastStart )
You can’t perform that action at this time.
0 commit comments