cleanup: Mark unused arguments as unused

This will stop eslint from warning about them, while keeping their
self-documenting benefit.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
Florian Müllner
2019-01-31 15:08:10 +01:00
parent 79cf3a6dd0
commit 2f97a1a55d
44 changed files with 110 additions and 110 deletions

View File

@ -386,16 +386,16 @@ var Overview = class {
this.emit('windows-restacked', stackIndices);
}
beginItemDrag(source) {
beginItemDrag(_source) {
this.emit('item-drag-begin');
this._inItemDrag = true;
}
cancelledItemDrag(source) {
cancelledItemDrag(_source) {
this.emit('item-drag-cancelled');
}
endItemDrag(source) {
endItemDrag(_source) {
if (!this._inItemDrag)
return;
this.emit('item-drag-end');