You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by js...@apache.org on 2014/11/12 18:46:13 UTC
[1/2] cordova-plugin-inappbrowser git commit: CB-7977 Mention
deviceready in plugin docs
Repository: cordova-plugin-inappbrowser
Updated Branches:
refs/heads/master 7a816d845 -> 70d74e527
CB-7977 Mention deviceready in plugin docs
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/70d74e52
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/70d74e52
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/70d74e52
Branch: refs/heads/master
Commit: 70d74e5273ed4e34bd797c574a748c0e1691bd12
Parents: 2818011
Author: Josh Soref <js...@blackberry.com>
Authored: Thu Nov 6 17:11:47 2014 -0500
Committer: Josh Soref <js...@blackberry.com>
Committed: Wed Nov 12 12:45:48 2014 -0500
----------------------------------------------------------------------
doc/index.md | 9 +++++++++
1 file changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/70d74e52/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index d6dda3b..a6fb07a 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -32,6 +32,15 @@ whitelist, nor is opening links in the system browser.
The InAppBrowser provides by default its own GUI controls for the user (back,
forward, done).
+This plugin hooks `window.open`.
+
+Although `window.open` is in the global scope, InAppBrowser is not available until after the `deviceready` event.
+
+ document.addEventListener("deviceready", onDeviceReady, false);
+ function onDeviceReady() {
+ console.log("window.open works well");
+ }
+
## Installation
cordova plugin add org.apache.cordova.inappbrowser
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/2] cordova-plugin-inappbrowser git commit: Dropping trailing
whitespace
Posted by js...@apache.org.
Dropping trailing whitespace
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/28180112
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/28180112
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/28180112
Branch: refs/heads/master
Commit: 2818011249928fb71d2b730237a20c9151ed2263
Parents: 7a816d8
Author: Josh Soref <js...@blackberry.com>
Authored: Thu Nov 6 17:11:34 2014 -0500
Committer: Josh Soref <js...@blackberry.com>
Committed: Wed Nov 12 12:45:48 2014 -0500
----------------------------------------------------------------------
doc/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/28180112/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index d60e3d2..d6dda3b 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -103,7 +103,7 @@ instance, or the system browser.
### Firefox OS Quirks
-As plugin doesn't enforce any design there is a need to add some CSS rules if
+As plugin doesn't enforce any design there is a need to add some CSS rules if
opened with `target='_blank'`. The rules might look like these
``` css
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org