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 3835211F02 for ; Mon, 5 May 2014 23:43:18 +0000 (UTC) Received: (qmail 62460 invoked by uid 500); 5 May 2014 23:43:10 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 62350 invoked by uid 500); 5 May 2014 23:43:08 -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 62322 invoked by uid 99); 5 May 2014 23:43:08 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 23:43:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7A2A1920461; Mon, 5 May 2014 23:43:07 +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: Mon, 05 May 2014 23:43:16 -0000 Message-Id: <1ba3a750ea454d059e4bebb79b13239c@git.apache.org> In-Reply-To: <81e68bfe27e84ee4b9df03122ee01674@git.apache.org> References: <81e68bfe27e84ee4b9df03122ee01674@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [10/11] git commit: another qt 5.2 workaround another qt 5.2 workaround Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/3b6762c6 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/3b6762c6 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/3b6762c6 Branch: refs/heads/master Commit: 3b6762c655c21cf635964cc45e66a5c365c915ff Parents: 6786958 Author: Maxim Ermilov Authored: Fri May 2 01:43:12 2014 +0400 Committer: Maxim Ermilov Committed: Fri May 2 01:43:12 2014 +0400 ---------------------------------------------------------------------- Cordovaqt/cordova_wrapper.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/3b6762c6/Cordovaqt/cordova_wrapper.js ---------------------------------------------------------------------- diff --git a/Cordovaqt/cordova_wrapper.js b/Cordovaqt/cordova_wrapper.js index a4be290..3a4cddc 100644 --- a/Cordovaqt/cordova_wrapper.js +++ b/Cordovaqt/cordova_wrapper.js @@ -21,6 +21,9 @@ var pluginObjects = {} +// qt 5.2 forbids assigning new properties to JS module +// global variable used by plugins to store temporary data +var global = {}; function addPlugin(pluginName, pluginObject) { pluginObjects[pluginName] = pluginObject