mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:42:26 +01:00
*** empty log message ***
This commit is contained in:
@@ -1080,7 +1080,9 @@ const liberator = (function () //{{{
|
||||
{
|
||||
var files = liberator.io.readDirectory(pluginDir.path);
|
||||
liberator.log("Sourcing plugin directory...", 3);
|
||||
files.sort(function (a, b) String(a.path).localeCompare(b.path)).forEach(function (file) {
|
||||
files.sort(function (a, b) String.localeCompare(a.path, b.path))
|
||||
.forEach(function (file)
|
||||
{
|
||||
if (!file.isDirectory() && /\.(js|vimp)$/i.test(file.path))
|
||||
liberator.io.source(file.path, false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user