From 9f694882571e190f314522c6c4b6b8c6540387ba Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sun, 1 Nov 2015 23:17:54 +0100 Subject: [PATCH] Make jslint happy. --- src/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.js b/src/extension.js index 0324f42..d3e0005 100644 --- a/src/extension.js +++ b/src/extension.js @@ -363,7 +363,7 @@ const OpenweatherMenuButton = new Lang.Class({ this.weatherProvider = "https://openweathermap.org/"; - if (this._appid.toString().trim() == '') + if (this._appid.toString().trim() === '') Main.notify("Openweather", _("Openweathermap.org does not work without an api-key.\nPlease register at http://openweathermap.org/appid and paste your personal key into the preferences dialog.")); }, @@ -412,7 +412,7 @@ const OpenweatherMenuButton = new Lang.Class({ this.fc_locale = locale; } - if (this._appid_fc.toString().trim() == '') + if (this._appid_fc.toString().trim() === '') Main.notify("Openweather", _("Forecast.io does not work without an api-key.\nPlease register at https://developer.forecast.io/register and paste your personal key into the preferences dialog.")); },