mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-04 00:02:03 +08:00
changed FileUtils to public for testing purposes. added updategap that can updated a project with the latest phonegap jar and js
This commit is contained in:
@@ -164,9 +164,7 @@ PhoneGap.onNativeReady = new PhoneGap.Channel();
|
||||
// _nativeReady is global variable that the native side can set
|
||||
// to signify that the native code is ready. It is a global since
|
||||
// it may be called before any PhoneGap JS is ready.
|
||||
try {
|
||||
if (_nativeReady) { PhoneGap.onNativeReady.fire(); }
|
||||
} catch (e) { }
|
||||
if (typeof _nativeReady !== 'undefined') { PhoneGap.onNativeReady.fire(); }
|
||||
|
||||
/**
|
||||
* onDeviceReady is fired only after both onDOMContentLoaded and
|
||||
|
||||
Reference in New Issue
Block a user