Authored by gaoqiang xu

bug fix

@@ -268,6 +268,8 @@ @@ -268,6 +268,8 @@
268 268
269 [super webViewDidFinishLoad:theWebView]; 269 [super webViewDidFinishLoad:theWebView];
270 270
  271 + [self cycleInject];
  272 +
271 if (self.delegate && [self.delegate respondsToSelector:@selector(webViewDidFinishLoad:)]) { 273 if (self.delegate && [self.delegate respondsToSelector:@selector(webViewDidFinishLoad:)]) {
272 [self.delegate webViewDidFinishLoad:theWebView]; 274 [self.delegate webViewDidFinishLoad:theWebView];
273 } 275 }
@@ -1833,7 +1833,9 @@ define("cordova/yohoInterface", function(require, exports, module) { @@ -1833,7 +1833,9 @@ define("cordova/yohoInterface", function(require, exports, module) {
1833 } else if (ability === "Native_FS") { 1833 } else if (ability === "Native_FS") {
1834 native_fs_callbackWithInfo(info["result"], onSuccess); 1834 native_fs_callbackWithInfo(info["result"], onSuccess);
1835 } else { 1835 } else {
1836 - onSuccess(); 1836 + if (onSuccess !== null) {
  1837 + onSuccess();
  1838 + }
1837 } 1839 }
1838 } 1840 }
1839 1841
@@ -1843,12 +1845,10 @@ define("cordova/yohoInterface", function(require, exports, module) { @@ -1843,12 +1845,10 @@ define("cordova/yohoInterface", function(require, exports, module) {
1843 module.exports = new YHInterface(); 1845 module.exports = new YHInterface();
1844 1846
1845 }); 1847 });
1846 - 1848 +
1847 window.yohoInterface = require('cordova/yohoInterface'); 1849 window.yohoInterface = require('cordova/yohoInterface');
1848 -// End: Added by xugaoqiang  
1849 1850
1850 window.cordova = require('cordova'); 1851 window.cordova = require('cordova');
1851 -// file: src/scripts/bootstrap.js  
1852 1852
1853 require('cordova/init'); 1853 require('cordova/init');
1854 1854