Client and server.
Yeah.
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-core/74t2dC9DU94/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to meteor-core...@googlegroups.com.
Also, what would be the best practice to export / import classes / APIs in coffeescript now with new wrapping? I tried upgrading couple of apps to devel branch and everything stopped working due to scoping issues
So how do coffeescript files are handled since coffeescript compiler wraps the files automatically? Are they also double-wrapped?
E.g. in the observatory package logger is defined as "class TLog" which now became invisible from other files, whereas previously due to "Meteor concatenates everything together into one huge javascript" it just worked. For now doing the (exports ? this).TLog = TLog fixes it but it's still an issue with multi-file modules.
E.g. in the observatory package logger is defined as "class TLog" which now became invisible from other files, whereas previously due to "Meteor concatenates everything together into one huge javascript" it just worked. For now doing the (exports ? this).TLog = TLog fixes it but it's still an issue with multi-file modules.
just putting this.ModuleName in every file does not work
Right, my understanding is that to get globals out of a package in CoffeeScript, assigning to (exports ? this), or maybe just @, will work.