You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2013/06/05 17:27:00 UTC
js commit: CB-3420: add hidden option to InAppBrowser
Updated Branches:
refs/heads/master 11bdd3899 -> dcbd18980
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/dcbd1898
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/dcbd1898
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/dcbd1898
Branch: refs/heads/master
Commit: dcbd189803681d61d261f4a5f76cd89a41b605ae
Parents: 11bdd38
Author: David Kemp <dr...@dhcp-172-23-180-121.wat.corp.google.com>
Authored: Tue Jun 4 13:59:26 2013 -0400
Committer: David Kemp <dr...@dhcp-172-23-180-121.wat.corp.google.com>
Committed: Tue Jun 4 14:13:18 2013 -0400
----------------------------------------------------------------------
lib/common/plugin/InAppBrowser.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/dcbd1898/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);