A question about John Resig's Simple Javascript Inheritance
<p>I'm using this simple code: <a href="http://ejohn.org/blog/simple-javascript-inheritance/" rel="nofollow">http://ejohn.org/blog/simple-javascript-inheritance/</a><br/>
Using this "library", I made this simple class:</p>

<pre><code>var Person = Class.extend({
  init: function(openningSentence) {
    this.say(openningSentence);
  },

  say: function(words) {
    alert(words);
  }
});
</code></pre>

<p>The problem with this class, is that I can't call a function using the variable "this" (line 3 in the code gives an error: unknown method "say").<br/><br/>
Does anybody knoes if there's a solution for this problem?<br/>
Btw - I'm using jquery, so if there's a jquery-based solution It'll be great :)</p>
