Merge branch 'master' of git://github.com/phonegap/phonegap-android

This commit is contained in:
macdonst 2011-07-20 11:13:33 -04:00
commit 17ccb2db4d

View File

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