Issue #167: Remove window.app and use navigator.app instead. Remove App() from namespace.

This commit is contained in:
Bryce Curtis 2011-07-19 11:00:13 -05:00
parent 7afa2d3840
commit 6b84ead393

View File

@ -8,6 +8,7 @@
if (!PhoneGap.hasResource("app")) {
PhoneGap.addResource("app");
(function() {
/**
* Constructor
@ -79,6 +80,7 @@ App.prototype.exitApp = function() {
};
PhoneGap.addConstructor(function() {
navigator.app = window.app = new App();
navigator.app = new App();
});
}());
}