You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very happy that you continue the collection behavours package. I used it via mrt before and switched to Meteor 1 now.
I noticed one "strange" behaviour, or is it intended?
I wrote a behaviour called "owned" and want to attach it to a collection called "Activities". Here some testing code I wrote (using CoffeeScript):
(FYI, log is just a logger to console; ...? is CoffeeScript's way of checking for a var's existance, i.e. owned? equals typeof owned !== "undefined" && owned !== null in JS)
I.e. I need to call CollectionBehaviours.extendCollectionInstance Activities explicitly so that I can call owned() on the collection. Intentionally? (the mrt version did that automatically somehow)
The text was updated successfully, but these errors were encountered:
I'm very happy that you continue the collection behavours package. I used it via mrt before and switched to Meteor 1 now.
I noticed one "strange" behaviour, or is it intended?
I wrote a behaviour called "owned" and want to attach it to a collection called "Activities". Here some testing code I wrote (using CoffeeScript):
(FYI,
log
is just a logger to console;...?
is CoffeeScript's way of checking for a var's existance, i.e.owned?
equalstypeof owned !== "undefined" && owned !== null
in JS)The output is:
I.e. I need to call
CollectionBehaviours.extendCollectionInstance Activities
explicitly so that I can callowned()
on the collection. Intentionally? (the mrt version did that automatically somehow)The text was updated successfully, but these errors were encountered: