1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 01:29:39 +02:00
This commit is contained in:
gorhill 2014-09-05 16:15:42 -04:00
parent 1f2ad19a22
commit d0616a9f9a

View File

@ -386,14 +386,14 @@ var readLocalFile = function(path, callback) {
//console.log('µBlock> readLocalFile("%s") / onCachedContentLoaded()', path);
reportBack(details.content);
};
var onCachedContentError = function(details) {
//console.error('µBlock> readLocalFile("%s") / onCachedContentError()', path);
if ( reIsExternalPath.test(path) ) {
reportBack('', 'Error: asset not found');
return;
}
// It's ok for user data to be empty
// It's ok for user data to not be found
if ( reIsUserPath.test(path) ) {
reportBack('');
return;