title: Overwriting tap event with preventDefault
body: <p>I had a lot of:</p>
  
  <pre><code>$('#element').on('tap', function(){
      // some code ..
  })
  </code></pre>
  
  <p>I searched many questions about the <code>tap</code> event problem firing twice, and I solved my problem using <code>e.preventDefault()</code>, now I have a lot of:</p>
  
  <pre><code>$('#element').on('tap', function(e){
      e.preventDefault();
      // some code ..
  })
  </code></pre>
  
  <hr>
  
  <p>Ok, but as I said, I have many of these calls and I don't like much to write every time <code>e.preventDefault()</code>, then I typed <code>$.fn.tap</code> on chrome's console and it showed me:</p>
  
  <pre><code>function (a){return a?this.bind(c,a):this.trigger(c)}
  </code></pre>
  
  <p>I tried to overwrite it this way:</p>
  
  <pre><code>$.fn.tap = function (a) {
      a.preventDefault(); 
      return a?this.bind(c,a):this.trigger(c)
  }
  </code></pre>
  
  <p>But it didn't worked as it did in the previous <code>e.preventDefault()</code>.</p>
  
  <p>I'm not seeing anything obvious and I'm out of ideas for this.</p>
  
  <p>Any help or idea is appreciated. Thanks in advance.</p>