mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
Remove unused ivars
This commit is contained in:
parent
256a9bf08a
commit
2248bbf8fb
@ -8,19 +8,14 @@ class LanguageMode
|
|||||||
Emitter.includeInto(this)
|
Emitter.includeInto(this)
|
||||||
Subscriber.includeInto(this)
|
Subscriber.includeInto(this)
|
||||||
|
|
||||||
buffer: null
|
|
||||||
grammar: null
|
|
||||||
editor: null
|
|
||||||
currentGrammarScore: null
|
|
||||||
|
|
||||||
destroy: ->
|
|
||||||
@unsubscribe()
|
|
||||||
|
|
||||||
# Sets up a `LanguageMode` for the given {Editor}.
|
# Sets up a `LanguageMode` for the given {Editor}.
|
||||||
#
|
#
|
||||||
# editor - The {Editor} to associate with
|
# editor - The {Editor} to associate with
|
||||||
constructor: (@editor) ->
|
constructor: (@editor) ->
|
||||||
@buffer = @editor.buffer
|
{@buffer} = @editor
|
||||||
|
|
||||||
|
destroy: ->
|
||||||
|
@unsubscribe()
|
||||||
|
|
||||||
toggleLineCommentForBufferRow: (row) ->
|
toggleLineCommentForBufferRow: (row) ->
|
||||||
@toggleLineCommentsForBufferRows(row, row)
|
@toggleLineCommentsForBufferRows(row, row)
|
||||||
|
Loading…
Reference in New Issue
Block a user