cleanup: Use rest parameters instead of arguments
Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
This commit is contained in:
@ -611,8 +611,8 @@ function initEnvironment() {
|
||||
// Monkey-patch in a "global" object that fakes some Shell utilities
|
||||
// that ExtensionUtils depends on.
|
||||
window.global = {
|
||||
log() {
|
||||
print([].join.call(arguments, ', '));
|
||||
log(...args) {
|
||||
print(args.join(', '));
|
||||
},
|
||||
|
||||
logError(s) {
|
||||
|
Reference in New Issue
Block a user