cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [6/7] git commit: add CordovaViewInternal.plugin
Date Mon, 18 Nov 2013 23:40:46 GMT
add CordovaViewInternal.plugin


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

Branch: refs/heads/master
Commit: 5f33f141e36014973f68854117fe1f1d2cb4f3e6
Parents: 331de7c
Author: Maxim Ermilov <maxim.ermilov@canonical.com>
Authored: Mon Nov 18 15:10:46 2013 +0400
Committer: Maxim Ermilov <maxim.ermilov@canonical.com>
Committed: Mon Nov 18 15:10:46 2013 +0400

----------------------------------------------------------------------
 Cordovaqt/CordovaViewInternal.qml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/5f33f141/Cordovaqt/CordovaViewInternal.qml
----------------------------------------------------------------------
diff --git a/Cordovaqt/CordovaViewInternal.qml b/Cordovaqt/CordovaViewInternal.qml
index f69833d..2a18319 100644
--- a/Cordovaqt/CordovaViewInternal.qml
+++ b/Cordovaqt/CordovaViewInternal.qml
@@ -33,6 +33,9 @@ Item {
     function exec(plugin, func, args) {
         CordovaWrapper.execMethod(plugin, func, args);
     }
+    function plugin(plugin) {
+        return CordovaWrapper.pluginObjects[plugin];
+    }
 
     Rectangle {
         id: webViewContainer


Mime
View raw message