mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-24 00:15:45 +01:00
Get rid of absurd strict JS warnings.
This commit is contained in:
@@ -28,6 +28,7 @@ const Script = Class("Script", {
|
||||
if (dir.contains(file, false))
|
||||
plugins[this.NAME] = this;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1038,6 +1039,7 @@ lookup:
|
||||
return File(dir).readDirectory();
|
||||
}
|
||||
catch (e) {}
|
||||
return [];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user