cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhigg...@apache.org
Subject js commit: CB-5973 blackberry: use sync by default
Date Mon, 10 Feb 2014 16:16:48 GMT
Updated Branches:
  refs/heads/3.4.x 9508bcc21 -> 5ca224690


CB-5973 blackberry: use sync by default


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

Branch: refs/heads/3.4.x
Commit: 5ca22469029df5de97410aa1a47c42ac5ce25767
Parents: 9508bcc
Author: Bryan Higgins <bhiggins@blackberry.com>
Authored: Mon Feb 10 11:16:22 2014 -0500
Committer: Bryan Higgins <bhiggins@blackberry.com>
Committed: Mon Feb 10 11:16:22 2014 -0500

----------------------------------------------------------------------
 src/blackberry10/exec.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/5ca22469/src/blackberry10/exec.js
----------------------------------------------------------------------
diff --git a/src/blackberry10/exec.js b/src/blackberry10/exec.js
index c48ddff..5e0d8cb 100644
--- a/src/blackberry10/exec.js
+++ b/src/blackberry10/exec.js
@@ -118,9 +118,7 @@ module.exports = function (success, fail, service, action, args, sync)
{
             }
         }
 
-        sync = false || arguments[5];
-
-        if (!sync) {
+        if (sync !== undefined && !sync) {
             request.makeAsyncCall();
             return;
         }


Mime
View raw message