You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2012/08/24 03:10:41 UTC

[19/23] js commit: Change comment to indicate that the override is for whichever hardware button

Change comment to indicate that the override is for whichever hardware
button


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/f66f2eee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/f66f2eee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/f66f2eee

Branch: refs/heads/master
Commit: f66f2eee3b1979c7157642f6d33dfa6500f51d09
Parents: b58d638
Author: Josh Soref <js...@rim.com>
Authored: Tue Aug 14 14:56:04 2012 -0400
Committer: Tim Kim <ti...@nitobi.com>
Committed: Thu Aug 23 17:56:11 2012 -0700

----------------------------------------------------------------------
 lib/webworks/java/platform.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/f66f2eee/lib/webworks/java/platform.js
----------------------------------------------------------------------
diff --git a/lib/webworks/java/platform.js b/lib/webworks/java/platform.js
index ebe7fcd..8009d16 100644
--- a/lib/webworks/java/platform.js
+++ b/lib/webworks/java/platform.js
@@ -46,7 +46,7 @@ module.exports = {
         var eventHandler = function(event) {
             return { onSubscribe : function() {
                 // If we just attached the first handler, let native know we
-                // need to override the back button.
+                // need to override the hardware button.
                 if (this.numHandlers === 1) {
                     blackberry.system.event.onHardwareKey(
                             buttonMapping[event], fireEvent(event));
@@ -54,7 +54,7 @@ module.exports = {
             },
             onUnsubscribe : function() {
                 // If we just detached the last handler, let native know we
-                // no longer override the back button.
+                // no longer override the hardware button.
                 if (this.numHandlers === 0) {
                     blackberry.system.event.onHardwareKey(
                             buttonMapping[event], null);