mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 15:37:59 +01:00
Revert "Move util.Array to modules.Array_."
This reverts commit d6cdda48a18c9fa05365b50046470fec9935fd3c. Array_ method chaining needs fixing.
This commit is contained in:
@@ -283,7 +283,7 @@ function IO() //{{{
|
||||
|
||||
// TODO: Use a set/specifiable list here:
|
||||
let lines = [cmd.serial().map(commands.commandToString) for (cmd in commands) if (cmd.serial)];
|
||||
lines = Array_.flatten(lines);
|
||||
lines = util.Array.flatten(lines);
|
||||
|
||||
// source a user .vimperatorrc file
|
||||
lines.unshift('"' + liberator.version + "\n");
|
||||
@@ -399,7 +399,7 @@ function IO() //{{{
|
||||
completion.charset = function (context) {
|
||||
context.anchored = false;
|
||||
context.generate = function () {
|
||||
let names = Array_(
|
||||
let names = util.Array(
|
||||
"more1 more2 more3 more4 more5 unicode".split(" ").map(function (key)
|
||||
options.getPref("intl.charsetmenu.browser." + key).split(', '))
|
||||
).flatten().uniq();
|
||||
@@ -477,7 +477,7 @@ function IO() //{{{
|
||||
}
|
||||
}
|
||||
|
||||
return Array_.flatten(commands);
|
||||
return util.Array.flatten(commands);
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user