Alex Ford
Alex Ford
What happens when you set the `load-horizon` to 25? It is the default value, but I'm curious if you experience the same error. A [couple tests exist to make sure...
@anthonycollini could you please post the handlebars template that implements the `{{impagination-dataset}}`? I assume `onObjectAt` is setting the `readOffset` multiple times. Could you insert a `console.log` statement there? ``` javascript...
I believe the `readOffset` is set to a number greater than 0 in `setReadOffset`. If it is set to >= 1, then the next page will be requested (page 2...
https://github.com/flexyford/impagination/blob/master/src/page.js#L10 isPending - when we wait on the fetch to return isResolved - when the fetch is resolved isRejected - when the fetch is rejected isRequested - record isPending OR...
@benshine The [README](https://github.com/thefrontside/ember-impagination#impagination-dataset-component) says the "setup will immediatly call fetch twice", but that is no longer the case since the 1.0 era. The README should says the "setup will immediatly...
I'm sorry you ran into this error. How did the application get into this state? Can you provide a Code Example or test?
Could you post the `setupImpagination` function from `/app/components/Home.js`?
Thanks @cowboyd! Sounds like a candidate to fix before a 1.0 release. I'll open a PR with a failing test and tackle this in the first half of this week.
@cowboyd I was not able to reproduce the issue you're describing. Could you provide more detail? I've got a branch up with the tests for `state.slice` https://github.com/flexyford/impagination/compare/task/slice-out-of-bounds Since an instance...
Yea from the looks of it, does not seem different than what standard JS slice would be returning. Using your extended ‘slice’ method as a wrapper to datasetState.slice, i’m curious...