title: YUI3 - Errors don't appear in Firebug - Y.on('available
body: <p>solution, you have to call the parameter in the responding function from the Y.on('available', myFunction, domelement').  so function myFunction(e)  </p>
  
  <p>Rewriting this, </p>
  
  <p>If I used the following code, (game isn't defined), </p>
  
  <pre><code>function myFunction () {
      console.log(game);
  }
  
  Y.on('available',myFunction,#domElement);
  </code></pre>
  
  <p>I don't get an error in my console for game, which isn't defined (should be a reference error).</p>
  
  <p>Any idea why? Or how I can get those errors to show in the console?</p>