edit: @seeekr ninjad lol
update: ok so declaring the collection with
@collection seems to work. Now i noticed this statement in the docs:
If you want to share variables between .coffee files in the same package, and don't want to separately declare them in a .js file, we have an experimental feature that you may like. An object called share is visible in CoffeeScript code and is shared across all .coffee files in the same package. So, you can write share.foo for a value that is shared between all CoffeeScript code in a package, but doesn't escape that package.
Seems like using
share.collection should work, but it doesnt. Does anyone have any experience with this feature?