From a5b3e3231f2a51f2aa88ac997e94a2b7041866cf Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Sat, 3 Aug 2019 20:02:15 +0200 Subject: [PATCH] Fix lint errors --- extension/lib/utils.coffee | 4 +++- extension/lib/vim.coffee | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/extension/lib/utils.coffee b/extension/lib/utils.coffee index dfd7cf0..04ee39c 100644 --- a/extension/lib/utils.coffee +++ b/extension/lib/utils.coffee @@ -86,7 +86,9 @@ isContentEditable = (element) -> isDevtoolsElement = (element) -> return false unless element.ownerGlobal - return Array.prototype.some.call(element.ownerGlobal.top.frames, isDevtoolsWindow) + return Array.prototype.some.call( + element.ownerGlobal.top.frames, isDevtoolsWindow + ) isDevtoolsWindow = (window) -> return window.location?.href in [ diff --git a/extension/lib/vim.coffee b/extension/lib/vim.coffee index 7212f49..7ac6ddc 100644 --- a/extension/lib/vim.coffee +++ b/extension/lib/vim.coffee @@ -160,7 +160,7 @@ class Vim @_state.lastNotification = message @_parent.emit('notification', {vim: this, message}) if @options.notifications_enabled - @window.StatusPanel._label = message; + @window.StatusPanel._label = message _notifyPersistent: (message) -> @_state.persistentNotification = message @@ -171,7 +171,7 @@ class Vim hideNotification: -> @_parent.emit('hideNotification', {vim: this}) - @window.StatusPanel._label = ""; # or .update() + @window.StatusPanel._label = '' # or .update() @_state.lastNotification = null @_state.persistentNotification = null -- 2.39.3