Closed cowboyd closed 8 years ago
If that's the case then we can forget about returning state.pages
since that's what we used to compute the page numbers in the color-demo
. We can easily get the page numbers by using the Math.floor(record.offset / pageSize)
If, of course, we want to remove the notion of pages. It can wait for the time being.
Fixed on #18
If you have a record with the value "bob", you expect
state.get(0)
to return a record like:Instead you see
"bob"