mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
Merge branch 'master' of git://github.com/phonegap/phonegap-android
This commit is contained in:
commit
17ccb2db4d
@ -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();
|
||||||
});
|
});
|
||||||
|
}());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user