Meteor-Community-Packages / meteor-collection-hooks

Meteor Collection Hooks
https://atmospherejs.com/matb33/collection-hooks
MIT License
657 stars 92 forks source link

Meteor.users no longer an instance of Meteor.Collection #34

Closed dburles closed 10 years ago

dburles commented 10 years ago

Without collection-hooks: Meteor.users instanceof Meteor.Collection => true

With collection-hooks: Meteor.users instanceof Meteor.Collection => false

The problem with this now is that any Meteor.Collection.prototype.fn we wish to attach does not attach to the Meteor.users collection. This affects the collection-helpers package and potentially others.

https://github.com/dburles/meteor-collection-helpers/issues/2

matb33 commented 10 years ago

@dburles have a look with the newest version (0.6.3+) and let me know if it's working for you. It won't work in < IE11 though.

dburles commented 10 years ago

works just fine! oh, when you say it won't work, you mean you get the old behaviour right?

matb33 commented 10 years ago

Yeah old behavior for older IEs

dburles commented 9 years ago

Just to note, we were stung by this problem recently with IE10 on Verso. Also @bitomule had the same problem arise https://github.com/dburles/meteor-collection-helpers/issues/21

The workaround is to load collection-hooks last

leducqui commented 7 years ago

@matb33 I meet same issue on IE10. On Chorme, IE11, the website work fine. How to fix it?