Remove addWhiteList from public API

This commit is contained in:
macdonst
2011-11-26 07:33:06 +08:00
parent 853a734f82
commit e02322b66b
3 changed files with 1 additions and 24 deletions
-10
View File
@@ -95,16 +95,6 @@ App.prototype.exitApp = function() {
return PhoneGap.exec(null, null, "App", "exitApp", []);
};
/**
* Add entry to approved list of URLs (whitelist) that will be loaded into PhoneGap container instead of default browser.
*
* @param origin URL regular expression to allow
* @param subdomains T=include all subdomains under origin
*/
App.prototype.addWhiteListEntry = function(origin, subdomains) {
return PhoneGap.exec(null, null, "App", "addWhiteListEntry", [origin, subdomains]);
};
PhoneGap.addConstructor(function() {
navigator.app = new App();
});