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:
Dave Johnson
2010-08-03 15:10:56 -07:00
parent bb5a628a28
commit 0c52ed44a0
3 changed files with 87 additions and 4 deletions

View File

@@ -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