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/06/07 22:59:18 UTC
[3/9] js commit: whitespace fix
whitespace fix
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/02fc2100
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/02fc2100
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/02fc2100
Branch: refs/heads/master
Commit: 02fc2100ec2e576f043bc5dafd3bc1b43031f63f
Parents: 9826515
Author: Gord Tanner <gt...@gmail.com>
Authored: Thu May 31 12:18:15 2012 -0400
Committer: Tim Kim <ti...@nitobi.com>
Committed: Thu Jun 7 13:50:55 2012 -0700
----------------------------------------------------------------------
lib/playbook/plugin/playbook/camera.js | 2 +-
lib/playbook/plugin/playbook/capture.js | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/02fc2100/lib/playbook/plugin/playbook/camera.js
----------------------------------------------------------------------
diff --git a/lib/playbook/plugin/playbook/camera.js b/lib/playbook/plugin/playbook/camera.js
index e4366aa..b8f33b9 100644
--- a/lib/playbook/plugin/playbook/camera.js
+++ b/lib/playbook/plugin/playbook/camera.js
@@ -11,7 +11,7 @@ module.exports = {
request.addParam("onCameraClosed", onCameraClosed);
request.addParam("onError", onError);
- //HACK: this is a sync call due to:
+ //HACK: this is a sync call due to:
//https://github.com/blackberry/WebWorks-TabletOS/issues/51
request.makeSyncCall();
return { "status" : cordova.callbackStatus.NO_RESULT, "message" : "WebWorks Is On It" };
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/02fc2100/lib/playbook/plugin/playbook/capture.js
----------------------------------------------------------------------
diff --git a/lib/playbook/plugin/playbook/capture.js b/lib/playbook/plugin/playbook/capture.js
index 472c4c2..64697f6 100644
--- a/lib/playbook/plugin/playbook/capture.js
+++ b/lib/playbook/plugin/playbook/capture.js
@@ -15,12 +15,11 @@ function capture(action, win, fail) {
onError = blackberry.events.registerEventHandler("onError", fail),
request = new blackberry.transport.RemoteFunctionCall('blackberry/media/camera/' + action);
-
request.addParam("onCaptured", onCaptured);
request.addParam("onCameraClosed", onCameraClosed);
request.addParam("onError", onError);
- //HACK: this is a sync call due to:
+ //HACK: this is a sync call due to:
//https://github.com/blackberry/WebWorks-TabletOS/issues/51
request.makeSyncCall();
}