cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [10/11] git commit: another qt 5.2 workaround
Date Mon, 05 May 2014 23:43:16 GMT
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 <maxim.ermilov@canonical.com>
Authored: Fri May 2 01:43:12 2014 +0400
Committer: Maxim Ermilov <maxim.ermilov@canonical.com>
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


Mime
View raw message