mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:47:59 +01:00
Revert "Move util.Array to modules.Array_."
This reverts commit d6cdda48a18c9fa05365b50046470fec9935fd3c. Array_ method chaining needs fixing.
This commit is contained in:
@@ -228,7 +228,7 @@ const liberator = (function () //{{{
|
||||
{
|
||||
let opts = [v.opts for ([k, v] in Iterator(groups))];
|
||||
opts = opts.map(function (opt) [[k, v[0]] for ([k, v] in Iterator(opt))]);
|
||||
return Array_.flatten(opts);
|
||||
return util.Array.flatten(opts);
|
||||
},
|
||||
validator: function (val) Option.validateCompleter.call(this, val) &&
|
||||
[v for ([k, v] in Iterator(groups))].every(function (g) !g.validator || g.validator(val))
|
||||
@@ -880,7 +880,7 @@ const liberator = (function () //{{{
|
||||
return Array.map(doc.getElementsByClassName("tag"),
|
||||
function (elem) [elem.textContent, file]);
|
||||
});
|
||||
return Array_.flatten(res);
|
||||
return util.Array.flatten(res);
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user