Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetchSuccess receives response that has not been parsed #7

Open
ijcd opened this issue Oct 4, 2012 · 1 comment
Open

fetchSuccess receives response that has not been parsed #7

ijcd opened this issue Oct 4, 2012 · 1 comment

Comments

@ijcd
Copy link

ijcd commented Oct 4, 2012

Backbone's collection.fetch seems to pass a non-parsed result objet to fetchSuccess. It should probably pass the parsed version since that is what is defined to return the array which infiniScroll calls response.length on...

@joshbedo
Copy link

Yeah just came across this same problem. Right now i have a nested collection that represents the top level length and since it's not being parsed the length is always the same when it's successful. This also means that infiniScroll never triggers the success method or error method because the length hasn't changed from the lastLength.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants