Authored by gaoqiang xu

bug fix

... ... @@ -268,6 +268,8 @@
[super webViewDidFinishLoad:theWebView];
[self cycleInject];
if (self.delegate && [self.delegate respondsToSelector:@selector(webViewDidFinishLoad:)]) {
[self.delegate webViewDidFinishLoad:theWebView];
}
... ...
... ... @@ -1833,7 +1833,9 @@ define("cordova/yohoInterface", function(require, exports, module) {
} else if (ability === "Native_FS") {
native_fs_callbackWithInfo(info["result"], onSuccess);
} else {
onSuccess();
if (onSuccess !== null) {
onSuccess();
}
}
}
... ... @@ -1843,12 +1845,10 @@ define("cordova/yohoInterface", function(require, exports, module) {
module.exports = new YHInterface();
});
window.yohoInterface = require('cordova/yohoInterface');
// End: Added by xugaoqiang
window.cordova = require('cordova');
// file: src/scripts/bootstrap.js
require('cordova/init');
... ...