title: Global classes with Meteor >0.6.0 and CoffeeScript
body: <p>Since the release of Meteor 0.6.0 and the addition of <a href="http://meteor.com/blog/2013/04/04/meteor-060-brand-new-distribution-system-app-packages-npm-integration" rel="noreferrer">file-level JavaScript variable scoping</a>, I'm facing an issue using CoffeeScript classes, each of them being defined in its own respective file.</p>
  
  <p>foo.coffee:</p>
  
  <pre><code>class Foo
    ...
  </code></pre>
  
  <p>subfoo.coffee:</p>
  
  <pre><code>class Subfoo extends Foo
    ...
  </code></pre>
  
  <p>As expected, and because of the changes introduced in Meteor 0.6.0, I'm getting the following error:</p>
  
  <blockquote>
    <p>ReferenceError: Foo is not defined</p>
  </blockquote>
  
  <p>Here's my question: how should one handle class definitions across files with CoffeeScript and Meteor >0.6.0? Ideally: is there a convenient way <em>not</em> to modify too much the way classes are defined in order to make sure these definitions (and core parts of my application) are not Meteor-dependent?</p>