jquery plugin problem
<p>I`m trying to figure out how to properly create jquery plugin. Here is what I do</p>

<pre><code>(function( $ ){

          $.fn.myPlugin = function() {
            console.log(this.eq(0).text());
          };
        })( jQuery ); 

$('#sector1').myPlugin();
</code></pre>

<p>Here is html</p>

<pre><code>&lt;div id="sector1"&gt;
        &lt;span class="timestamp"&gt;1&lt;/span&gt;
    &lt;/div&gt;
    &lt;div id="sector2"&gt;
        &lt;span class="timestamp"&gt;2&lt;/span&gt;
    &lt;/div&gt;
</code></pre>

<p>The problem is that I can't get the text of sector1 span tag.
How to do that ?</p>
