cleaner way for handling splashscreens

This commit is contained in:
Anis Kadri
2010-10-22 12:07:02 -07:00
parent 072613be99
commit 1761cbb3dc
4 changed files with 4 additions and 61 deletions
-13
View File
@@ -1,13 +0,0 @@
/*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
*/
PhoneGap.addConstructor(function() {
if (typeof navigator.splashScreen == "undefined") {
navigator.splashScreen = SplashScreen; // SplashScreen object come from native side through addJavaScriptInterface
}
});