@@ -28,7 +28,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
2828 bottom : viewTop + viewHeight
2929 } ;
3030
31- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
31+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
3232
3333 expect ( result . itemsInView ) . toBeGreaterThan ( 0 ) ;
3434 } ) ;
@@ -51,7 +51,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
5151 bottom : viewTop + viewHeight
5252 } ;
5353
54- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
54+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
5555
5656 expect ( result . itemsInView ) . toBe ( 0 ) ;
5757 } ) ;
@@ -74,7 +74,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
7474 bottom : viewTop + viewHeight
7575 } ;
7676
77- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
77+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
7878
7979 expect ( result . itemsInView ) . toBe ( 0 ) ;
8080 } ) ;
@@ -97,7 +97,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
9797 bottom : viewTop + viewHeight
9898 } ;
9999
100- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
100+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
101101
102102 expect ( result . itemsInView ) . toBe ( 5 ) ;
103103 expect ( result . firstItemIndex ) . toBe ( 0 ) ;
@@ -122,7 +122,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
122122 bottom : viewTop + viewHeight
123123 } ;
124124
125- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
125+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
126126
127127 expect ( result . itemsInView ) . toBe ( 5 ) ;
128128 expect ( result . firstItemIndex ) . toBe ( 15 ) ;
@@ -147,7 +147,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
147147 bottom : viewTop + viewHeight
148148 } ;
149149
150- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
150+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
151151
152152 expect ( result . itemsInView ) . toBe ( 6 ) ;
153153 } ) ;
@@ -170,7 +170,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
170170 bottom : viewTop + viewHeight
171171 } ;
172172
173- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
173+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
174174
175175 expect ( result . firstItemIndex ) . toBe ( 0 ) ;
176176 expect ( result . itemsInView ) . toBe ( 3 ) ;
@@ -194,7 +194,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
194194 bottom : viewTop + viewHeight
195195 } ;
196196
197- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
197+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
198198
199199 expect ( result . firstItemIndex ) . toBe ( 17 ) ;
200200 expect ( result . itemsInView ) . toBe ( 3 ) ;
@@ -218,7 +218,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
218218 bottom : viewTop + viewHeight
219219 } ;
220220
221- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , 4 ) ;
221+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , 4 , itemBuffer ) ;
222222
223223 expect ( result . firstItemIndex ) . toBe ( 0 ) ;
224224 expect ( result . itemsInView ) . toBe ( 4 ) ;
@@ -243,7 +243,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
243243 bottom : viewTop + viewHeight
244244 } ;
245245
246- var result = VirtualList . getItems ( viewBox , listBox , 5 , itemHeight , itemCount ) ;
246+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , 5 ) ;
247247
248248 expect ( result . itemsInView ) . toBeGreaterThan ( 5 ) ;
249249 } ) ;
@@ -266,7 +266,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
266266 bottom : viewTop + viewHeight
267267 } ;
268268
269- var result = VirtualList . getItems ( viewBox , listBox , 5 , itemHeight , itemCount ) ;
269+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , 5 ) ;
270270
271271 expect ( result . itemsInView ) . toBe ( 5 ) ;
272272 } ) ;
@@ -289,7 +289,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
289289 bottom : viewTop + viewHeight
290290 } ;
291291
292- var result = VirtualList . getItems ( viewBox , listBox , 5 , itemHeight , itemCount ) ;
292+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , 5 ) ;
293293
294294 expect ( result . itemsInView ) . toBe ( 5 ) ;
295295 } ) ;
@@ -312,7 +312,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
312312 bottom : viewTop + viewHeight
313313 } ;
314314
315- var result = VirtualList . getItems ( viewBox , listBox , 5 , itemHeight , itemCount ) ;
315+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , 5 ) ;
316316
317317 expect ( result . itemsInView ) . toBe ( 15 ) ;
318318 } ) ;
@@ -346,7 +346,7 @@ describe('renderer that calculates the items to render (and to not render)', fun
346346
347347 var start = Date . now ( ) ;
348348
349- var result = VirtualList . getItems ( viewBox , listBox , itemBuffer , itemHeight , itemCount ) ;
349+ var result = VirtualList . getItems ( viewBox , listBox , itemHeight , itemCount , itemBuffer ) ;
350350
351351 var end = Date . now ( ) ;
352352
0 commit comments