mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 06:45:51 +01:00
Replace Array.slice conversions of the arguments object with rest parameters.
This commit is contained in:
@@ -98,7 +98,7 @@ var Messages = Module("messages", {
|
||||
file = io.File(file);
|
||||
|
||||
function properties(base, iter_, prop) iter(function _properties() {
|
||||
function key() [base, obj.identifier || obj.name].concat(Array.slice(arguments)).join(".").replace(/[\\:=]/g, "\\$&");
|
||||
function key(...args) [base, obj.identifier || obj.name].concat(args).join(".").replace(/[\\:=]/g, "\\$&");
|
||||
|
||||
prop = prop || "description";
|
||||
for (var obj in iter_) {
|
||||
|
||||
Reference in New Issue
Block a user