Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 03a2840

Browse files
committed
Updating plugin code for lint rules.
1 parent 0259d21 commit 03a2840

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/main.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports =
1212

1313
# Set up our callback to track when settings changed.
1414
that = this
15-
@task.on "spell-check:settings-changed", () ->
15+
@task.on "spell-check:settings-changed", (ignore) ->
1616
that.updateViews()
1717

1818
# Since the spell-checking is done on another process, we gather up all the
@@ -55,7 +55,7 @@ module.exports =
5555
# background checking and a cached view of the in-process manager for
5656
# getting corrections. We used a function to a function because scope
5757
# wasn't working properly.
58-
spellCheckView = new SpellCheckView(editor, @task, () => @getInstance @globalArgs)
58+
spellCheckView = new SpellCheckView(editor, @task, => @getInstance @globalArgs)
5959

6060
# save the {editor} into a map
6161
editorId = editor.id

lib/spell-check-handler.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ instance.isTask = true
1313
#
1414
# Below the dispatcher for all messages from the server. The type argument is
1515
# require, how it is handled is based on the type.
16-
process.on "message", (message) =>
16+
process.on "message", (message) ->
1717
switch
1818
when message.type is "global" then loadGlobalSettings message.global
1919
when message.type is "checker" then instance.addCheckerPath message.checkerPath

0 commit comments

Comments
 (0)