File 0116-extension.js-add-jshint-validthis-hints.patch of Package hamster-time-tracker
From bcd75c9778d6dd6525565645085b093f3d3b826c Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Thu, 9 May 2019 23:47:25 +0200
Subject: [PATCH 116/130] extension.js: add jshint validthis hints
---
extension/extension.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extension/extension.js b/extension/extension.js
index abd17de..3c84759 100644
--- a/extension/extension.js
+++ b/extension/extension.js
@@ -149,6 +149,7 @@ class Controller {
}
function apiProxy_vanished_callback() {
+ /* jshint validthis: true */
global.log(_("hamster-shell-extension: 'hamster-service' not running. Shutting down."));
Main.notify(_("hamster-shell-extension: 'hamster-service' not running. Shutting down."));
this.disable();
@@ -158,6 +159,7 @@ class Controller {
}
function windowsProxy_vanished_callback() {
+ /* jshint validthis: true */
global.log(_("hamster-shell-extension: 'hamster-windows-service' not running. Shutting down."));
Main.notify(_("hamster-shell-extension: 'hamster-windows-service' not running. Shutting down."));
this.disable();
--
2.26.1