You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/02/20 01:52:48 UTC

[2/2] cordova-plugin-inappbrowser git commit: CB-8444 Add a clobber for `cordova.InAppBrowser.open` (close #80)

CB-8444 Add a clobber for `cordova.InAppBrowser.open` (close #80)

- Update doc with workaround for removing clobber


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/0293771e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/0293771e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/0293771e

Branch: refs/heads/master
Commit: 0293771e1416540a81e768fcd0bbb7b0bd6f2de3
Parents: ad263a1
Author: Jason Chase <ja...@gmail.com>
Authored: Tue Feb 17 14:42:54 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Feb 19 19:52:05 2015 -0500

----------------------------------------------------------------------
 doc/index.md | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/0293771e/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 598fdb3..f396f4d 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -42,6 +42,10 @@ For backwards compatibility, this plugin also hooks `window.open`.
 However, the plugin-installed hook of `window.open` can have unintended side
 effects (especially if this plugin is included only as a dependency of another
 plugin).  The hook of `window.open` will be removed in a future major release.
+Until the hook is removed from the plugin, apps can manually restore the default
+behaviour:
+
+    delete window.open // Reverts the call back to it's prototype's default
 
 Although `window.open` is in the global scope, InAppBrowser is not available until after the `deviceready` event.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org