mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
Adding infinite-scroll to the shopfront
For performance improvement with large data sets
This commit is contained in:
@@ -30,9 +30,9 @@ describe 'ProductsCtrl', ->
|
||||
it "increments the limit up to the number of products", ->
|
||||
scope.limit = 0
|
||||
scope.incrementLimit()
|
||||
expect(scope.limit).toEqual 1
|
||||
expect(scope.limit).toEqual 10
|
||||
scope.incrementLimit()
|
||||
expect(scope.limit).toEqual 1
|
||||
expect(scope.limit).toEqual 10
|
||||
|
||||
it "blocks keypresses on code 13", ->
|
||||
event =
|
||||
|
||||
Reference in New Issue
Block a user