chrisben / imgcache.js

JS library based on the File API to cache images for offline recovery (target: cordova/phonegap & chrome)
Other
826 stars 216 forks source link

imgcache.js in error callback function return empty #240

Closed ravi9376 closed 5 years ago

ravi9376 commented 5 years ago

in image cache filetransfar.download function if entrypoing is not defined then giving error in error block [Line no:698] there a error_callback function but they return empty so need the error in callback to define which type of error . need to change like this.

change on line no:702 in imgcache.js if (error_callback) { error_callback(error); }

update.

chrisben commented 5 years ago

Thanks, this is now fixed in master.