Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41E46DF10 for ; Tue, 14 May 2013 21:12:43 +0000 (UTC) Received: (qmail 15538 invoked by uid 500); 14 May 2013 21:12:42 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 15468 invoked by uid 500); 14 May 2013 21:12:42 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 14921 invoked by uid 99); 14 May 2013 21:12:41 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 21:12:41 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2261B8D04; Tue, 14 May 2013 21:12:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: steven@apache.org To: commits@cordova.apache.org Date: Tue, 14 May 2013 21:12:59 -0000 Message-Id: In-Reply-To: <88ae71b4ffc34ebe93bf3caed6f2fd5f@git.apache.org> References: <88ae71b4ffc34ebe93bf3caed6f2fd5f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [20/38] js commit: [BlackBerry10] Update bootstrap to fix exec error caused by rebasing [BlackBerry10] Update bootstrap to fix exec error caused by rebasing Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/5be2dabc Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/5be2dabc Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/5be2dabc Branch: refs/heads/3.0.0 Commit: 5be2dabc4bde38b59fa29d6dc656e0ef7a865dfd Parents: f0fb6ec Author: Bryan Higgins Authored: Wed Apr 17 14:55:43 2013 -0400 Committer: Bryan Higgins Committed: Fri May 3 09:50:04 2013 -0400 ---------------------------------------------------------------------- lib/scripts/bootstrap-blackberry10.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/5be2dabc/lib/scripts/bootstrap-blackberry10.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap-blackberry10.js b/lib/scripts/bootstrap-blackberry10.js index e359a15..836880f 100644 --- a/lib/scripts/bootstrap-blackberry10.js +++ b/lib/scripts/bootstrap-blackberry10.js @@ -112,7 +112,7 @@ delete cordova.callbacks[callbackId]; } else { didSucceed = response.code === cordova.callbackStatus.OK || response.code === cordova.callbackStatus.NO_RESULT; - cordova.callbackFromNative(callbackId, didSucceed, response.code, didSucceed ? response.data : response.msg, !!response.keepCallback); + cordova.callbackFromNative(callbackId, didSucceed, response.code, [ didSucceed ? response.data : response.msg ], !!response.keepCallback); } }, defineReadOnlyField: function (obj, field, value) {