| Index: lib/icon.js |
| diff --git a/lib/icon.js b/lib/icon.js |
| index a2e56a174a24d4c36fec0a658c108990bc92e8bb..c7590fce9c8f4bef26cbb7ab428a58b7ee97afed 100644 |
| --- a/lib/icon.js |
| +++ b/lib/icon.js |
| @@ -19,7 +19,7 @@ |
| "use strict"; |
| -let {FilterNotifier} = require("filterNotifier"); |
| +const {FilterNotifier} = require("filterNotifier"); |
| const frameOpacities = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, |
| 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, |
| @@ -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 => |
| { |