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:25:57 GMT
Updated Branches:
  refs/heads/master 7d02fb809 -> e3cd6cda5


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

Branch: refs/heads/master
Commit: e3cd6cda539a35c4154961d42e1a6ce5c07de927
Parents: 7d02fb8
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:25:58 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/e3cd6cda/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