Merge pull request #134 from mcfedr/master

Incosistent API's

I'm going to merge this pull request and I'm about to do a big update to the Android ChildBrowser which will put it more in line with the iPhone version.
This commit is contained in:
macdonst
2011-09-08 07:31:11 -07:00
2 changed files with 6 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ Using this plugin requires [Android PhoneGap](http://github.com/phonegap/phonega
The plugin creates the object `window.plugins.childBrowser`. To use, call one of the following, available methods:
Note that unlike the iphone version, android childbrowser doesn't require a call to `ChildBrowser.install()`
<pre>
/**
* Display a new browser with the specified URL.

View File

@@ -25,6 +25,10 @@ ChildBrowser.prototype.showWebPage = function(url, usePhoneGap) {
PhoneGap.exec(null, null, "ChildBrowser", "showWebPage", [url, usePhoneGap]);
};
ChildBrowser.install = function() {
}
/**
* Load ChildBrowser
*/