title: Is there a way to pass context to bind in jQuery?
body: <p>I'm inside a javascript object (vr roxx :) ), but every time I do an event bind with jQuery I have to include the main object instance's context through the data parameter in order to work with it. Isn't there an easy/neat way to do this in jQuery?</p>
  
  <pre><code>var oink = 
  {
      pig: null,
  
      options:    
      {
          showPigMom: 0
      },
  
      init: function(pigObj)
      {
  
          //Show the pigmom
          $(this.doc).bind('keyup click', {o: this}, function(e)
          {
              var o = e.data.o;
              if (o.options.showpath)
                  o.doWhatever();
          });
  
      ...
  </code></pre>