imgcache.js icon indicating copy to clipboard operation
imgcache.js copied to clipboard

getCachedFileURL does not call error callback when image cache is not loaded

Open jgresty opened this issue 5 years ago • 0 comments

When Private.isImgCacheLoaded returns false in ImgCache.getCachedFile then the function exists immediately, this is surprising behaviour when using functions such as ImgCache.getCachedFileURL as I would expect any error to trigger an error callback if one is provided.

jgresty avatar Sep 07 '20 23:09 jgresty