You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/06/11 01:04:45 UTC

[12/16] js commit: CB-3420: add hidden option to InAppBrowser

CB-3420: add hidden option to InAppBrowser


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/421aff89
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/421aff89
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/421aff89

Branch: refs/heads/3.0.0
Commit: 421aff89471477f96d068b55e96be4960de19674
Parents: 8a84454
Author: David Kemp <dr...@dhcp-172-23-180-121.wat.corp.google.com>
Authored: Tue Jun 4 13:59:26 2013 -0400
Committer: pplaquette <pp...@apache.org>
Committed: Thu Jun 6 17:00:27 2013 +0200

----------------------------------------------------------------------
 lib/common/plugin/InAppBrowser.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/421aff89/lib/common/plugin/InAppBrowser.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/InAppBrowser.js b/lib/common/plugin/InAppBrowser.js
index 1640a82..5da53fd 100644
--- a/lib/common/plugin/InAppBrowser.js
+++ b/lib/common/plugin/InAppBrowser.js
@@ -41,6 +41,9 @@ InAppBrowser.prototype = {
     close: function (eventname) {
         exec(null, null, "InAppBrowser", "close", []);
     },
+    show: function (eventname) {
+      exec(null, null, "InAppBrowser", "show", []);
+    },
     addEventListener: function (eventname,f) {
         if (eventname in this.channels) {
             this.channels[eventname].subscribe(f);