-
Notifications
You must be signed in to change notification settings - Fork 17
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
TypeError: Meteor.Collection.getAll is not a function #6
Comments
I'm getting a similar error, but from uglify, like this: meteor/meteor#5387
|
Will try to get this fixed. Short on time right now. Will accept PRs. |
Made PR |
#7 merged and 0.9.1 pushed to Atmosphere. Please let me know if there are any issues! |
Im still getting this issue. TypeError: Meteor.Collection.getAll is not a function |
Yep, I got the same issue |
I'll take a look at this today or tomorrow, feel free to submit a PR in the meantime |
Thanks, to specify my issue: In Mozilla: In Chrome: |
I found my problem, I made a subscription for the collection and it conflicted with the one that this library is setting. After the subscription was deleted everything works like it is supposed to. P.S. : The name of the collection (in this.infiniteScroll{ collection: 'name' }) should be as the name of your collection in Mongo not as the name of your collection in the model, in the model my collection started with capital case and in Mongo with lower, this throws: "Error: Collection does not exist: " |
Release 1.0.0 is out. Thanks @mizsha and @TheCodeLord. Please let me know if you have any further issues. |
I'm reaching this exception in a
[email protected]
app.Throws it at:
https://github.com/abecks/meteor-infinite-scroll/blob/master/infinite-scroll.js#L75
I suggest:
The text was updated successfully, but these errors were encountered: