title: mocha.globals is "undefined"
body: <p>When trying to use <a href="http://visionmedia.github.com/mocha/" rel="nofollow noreferrer">Mocha</a> (<a href="https://github.com/visionmedia/mocha/tags" rel="nofollow noreferrer">version 1.3.2</a>) in the browser, along the lines of <a href="http://visionmedia.github.com/mocha/example/tests.html" rel="nofollow noreferrer">the given example</a>, I get the following exception when trying to specify acceptable globals in <a href="https://stackoverflow.com/a/11166354/19212">the expected way</a> (i.e. with something like <code>mocha.globals(['amplify', '_'])</code>):</p>
  
  <pre><code>Uncaught TypeError: Object function Mocha(options) {
    options = options || {};
    this.files = [];
    this.options = options;
    this.grep(options.grep);
    this.suite = new exports.Suite('', new exports.Context);
    this.ui(options.ui);
    this.reporter(options.reporter);
    if (options.timeout) this.suite.timeout(options.timeout);
  } has no method 'globals' 
  </code></pre>
  
  <p>This is exhibited in Chrome 21.0.1180.</p>
  
  <p>One may reproduce this by going to the <a href="http://visionmedia.github.com/mocha/example/tests.html" rel="nofollow noreferrer">given example link</a>, and in the browser console run <code>mocha.globals(['123'])</code>.</p>
  
  <p>I would expect <code>mocha.globals</code> to work as the linked example suggests, or there to be some documentation about an alternative, but I have found none.</p>