mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +02:00
Use "const" where possible
Increase readability by using "const" for identifiers that will not be reassigned
This commit is contained in:
@@ -10,10 +10,10 @@ class ClapperAppRemote extends AppBase
|
||||
{
|
||||
super.vfunc_startup();
|
||||
|
||||
let clapperWidget = new WidgetRemote();
|
||||
const clapperWidget = new WidgetRemote();
|
||||
this.active_window.set_child(clapperWidget);
|
||||
|
||||
let headerBar = new HeaderBarBase(this.active_window);
|
||||
const headerBar = new HeaderBarBase(this.active_window);
|
||||
this.active_window.set_titlebar(headerBar);
|
||||
|
||||
this.active_window.maximize();
|
||||
|
Reference in New Issue
Block a user