Permalink
Browse files

add dummy preventDefault method

  • Loading branch information...
1 parent 3a73801 commit a88ed173035f07fc5d0bcc7932169d6b7d210a6f @Raynos committed Jul 23, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 event.js
View
@@ -7,3 +7,7 @@ Event.prototype.initEvent = function _Event_initEvent(type, bubbles, cancelable)
this.bubbles = bubbles
this.cancelable = cancelable
}
+
+Event.prototype.preventDefault = function _Event_preventDefault() {
+
+}

0 comments on commit a88ed17

Please sign in to comment.