You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by de...@apache.org on 2012/03/01 15:55:30 UTC

git commit: Add capture parameter to document.removeEventListener.

Updated Branches:
  refs/heads/master abc2ee452 -> 79f678e7e


Add capture parameter to document.removeEventListener.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/79f678e7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/79f678e7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/79f678e7

Branch: refs/heads/master
Commit: 79f678e7ece815ce46e75ad04ca1a880a989b083
Parents: abc2ee4
Author: Drew Walters <de...@gmail.com>
Authored: Thu Mar 1 08:55:03 2012 -0600
Committer: Drew Walters <de...@gmail.com>
Committed: Thu Mar 1 08:55:03 2012 -0600

----------------------------------------------------------------------
 lib/cordova.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/79f678e7/lib/cordova.js
----------------------------------------------------------------------
diff --git a/lib/cordova.js b/lib/cordova.js
index 2586d5a..1059cbb 100644
--- a/lib/cordova.js
+++ b/lib/cordova.js
@@ -42,7 +42,7 @@ window.addEventListener = function(evt, handler, capture) {
   }
 };
 
-document.removeEventListener = function(evt, handler) {
+document.removeEventListener = function(evt, handler, capture) {
   var e = evt.toLowerCase();
   // If unsubcribing from an event that is handled by a plugin
   if (typeof documentEventHandlers[e] != "undefined") {