mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 07:22:28 +02:00
typos
This commit is contained in:
parent
1f2ad19a22
commit
d0616a9f9a
@ -386,14 +386,14 @@ var readLocalFile = function(path, callback) {
|
|||||||
//console.log('µBlock> readLocalFile("%s") / onCachedContentLoaded()', path);
|
//console.log('µBlock> readLocalFile("%s") / onCachedContentLoaded()', path);
|
||||||
reportBack(details.content);
|
reportBack(details.content);
|
||||||
};
|
};
|
||||||
|
|
||||||
var onCachedContentError = function(details) {
|
var onCachedContentError = function(details) {
|
||||||
//console.error('µBlock> readLocalFile("%s") / onCachedContentError()', path);
|
//console.error('µBlock> readLocalFile("%s") / onCachedContentError()', path);
|
||||||
if ( reIsExternalPath.test(path) ) {
|
if ( reIsExternalPath.test(path) ) {
|
||||||
reportBack('', 'Error: asset not found');
|
reportBack('', 'Error: asset not found');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// It's ok for user data to be empty
|
// It's ok for user data to not be found
|
||||||
if ( reIsUserPath.test(path) ) {
|
if ( reIsUserPath.test(path) ) {
|
||||||
reportBack('');
|
reportBack('');
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user