cleanup: Fix some coding style issues

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
This commit is contained in:
Florian Müllner
2017-10-27 17:37:31 +02:00
parent 9d5b149428
commit d3bbeb1b0c
5 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ function _showHello() {
let monitor = Main.layoutManager.primaryMonitor;
global.stage.add_actor(label);
label.set_position(Math.floor (monitor.width / 2 - label.width / 2), Math.floor(monitor.height / 2 - label.height / 2));
Mainloop.timeout_add(3000, function () { label.destroy(); });
Mainloop.timeout_add(3000, function() { label.destroy(); });
}
// Put your extension initialization code here