jquery plugin tutorial confusing, cannot see init parameters
<p>i'm currently exploring <a href="http://docs.jquery.com/Plugins/Authoring" rel="nofollow">jQuery's plugin authoring</a> and:</p>

<pre><code>var methods = {
    init : function(options) {
        console.log(options);
        return this.each(function() {
            console.log(options);
        });
    }
};
</code></pre>

<p>the tutorial said that to maintain <em>chainability</em> (which i may use), i should <code>return this.each()</code>. i see that calling <code>$('div').myPlugin({'test':'test'})</code> calls the init function and logs in the console <code>options</code>. however, i don't seem to see <code>options</code> inside <code>return this.each()</code>. </p>

<p>can someone explain why is that so? is this normal behavior?</p>
