Index: lib/icon.js |
diff --git a/lib/icon.js b/lib/icon.js |
index a2e56a174a24d4c36fec0a658c108990bc92e8bb..dee47efa321e3274443a0a285aebfe4b1723c67a 100644 |
--- a/lib/icon.js |
+++ b/lib/icon.js |
@@ -185,7 +185,7 @@ let stopIconAnimation = |
* @return {Promise} A promise that is fullfilled when |
* the icon animation has been stopped. |
*/ |
-exports.stopIconAnimation = function() |
+exports.stopIconAnimation = () => |
{ |
stopRequested = true; |
return notRunning.then(() => |
@@ -201,7 +201,7 @@ exports.stopIconAnimation = function() |
* |
* @param {string} type The notification type (i.e: "information" or "critical") |
*/ |
-exports.startIconAnimation = function(type) |
+exports.startIconAnimation = type => |
{ |
notRunning = new Promise(resolve => |
{ |