Adding infinite-scroll to the shopfront

For performance improvement with large data sets
This commit is contained in:
Rob Harrington
2016-08-03 12:45:45 +10:00
parent d40733d447
commit b957555c82
9 changed files with 28 additions and 24 deletions

View File

@@ -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 =