mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
Use "const" where possible
Increase readability by using "const" for identifiers that will not be reassigned
This commit is contained in:
@@ -62,7 +62,7 @@ class ClapperWidgetRemote extends Gtk.Grid
|
||||
}
|
||||
break;
|
||||
case 'close':
|
||||
let root = this.get_root();
|
||||
const root = this.get_root();
|
||||
root.run_dispose();
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user