Javascript issue with this._super() function
<p>I have the following javascript</p>

<pre><code>var helloworld == cc.layer.extend({
    ctor : function() { this._super(); }
    init : function() { this._super();  ........}
    onmix : function() { this._super(); this.layer.addChild(); }
});
</code></pre>

<p>The error I am getting is this doesn't know <code>this._super()</code> at <code>onmix</code> function but everywhere else <code>this._super()</code> is fine.    If I don't put <code>this._super()</code> inside <code>onmix</code> then it won't know <code>this.layer</code> object. So how should I fix it?</p>

<p>Thanks.</p>
