cleanup: Don't shadow variables
Having variables that share the same name in overlapping scopes is confusing and error-prone, and is best avoided. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
2e4e2500dd
commit
682bd7e97c
@ -28,7 +28,7 @@ class RemoteAccessApplet extends PanelMenu.SystemIndicator {
|
||||
this._indicator = null;
|
||||
this._menuSection = null;
|
||||
|
||||
controller.connect('new-handle', (controller, handle) => {
|
||||
controller.connect('new-handle', (o, handle) => {
|
||||
this._onNewHandle(handle);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user