mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 16:04:12 +01:00
Replace Array.slice conversions of the arguments object with rest parameters.
This commit is contained in:
@@ -1571,7 +1571,7 @@ var Commands = Module("commands", {
|
||||
return dactyl.userEval(completer);
|
||||
});
|
||||
if (callable(result))
|
||||
return result.apply(this, Array.slice(arguments));
|
||||
return result.apply(this, arguments);
|
||||
else
|
||||
return context.completions = result;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user