title: Passing the event object to knockout.js function
body: <p>I'm using <code>bind</code> to call the function with parameters from my view:</p>
  
  <pre><code>&lt;span data-bind="click: modifyByOne.bind($data, 'plus')"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>As per <a href="https://stackoverflow.com/a/11160371/1081396">this answer</a> I'm getting the <code>event</code> object by doing this:</p>
  
  <pre><code>self.modifyByOne = function(type){
      var span = $(event.currentTarget);
  };
  </code></pre>
  
  <p>In Chrome everything works ok, but in Firefox I get the following console error:</p>
  
  <blockquote>
    <p>event is not defined</p>
  </blockquote>
  
  <p>How can I get it working in Firefox too?
  Knockout documentation doesn't provide much answers to this.</p>