title: calling this._super() from inside setTimeout()
body: <p>We use John Resig´s inherit.js. And that gives us access to the convenient <code>_super()</code> function to call the parent´s function. That´s awesome, but today I was stumped by a problem, I couldn´t call <code>this._super()</code> from inside a <code>setTimeout</code>, even if I bound this:</p>
  
  <h1>Code example</h1>
  
  <pre><code>var Person = Class.extend({
    init: function(isDancing){
    this.dancing = isDancing;
  },
      dance: function(){
          return this.dancing;
      }
  });
  
  var Ninja = Person.extend({
      init: function(){
          this._super( false );
  },
  dance: function(){
      window.setTimeout(function(){
          // Call the inherited version of dance()
          return this._super();
      }.bind(this),50);
  });
  </code></pre>
  
  <p><code>this._super()</code> is undefined! What is going on?</p>