Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Aug 3, 2019
1 parent ea106b6 commit a5b3e32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion extension/lib/utils.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand Down
4 changes: 2 additions & 2 deletions extension/lib/vim.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit a5b3e32

Please sign in to comment.