mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
💄 fix lint errors
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
parent
c7771ffde9
commit
90aca1c6ad
@ -504,7 +504,7 @@ class Config
|
|||||||
# Returns an {Array} of {Object}s with the following keys:
|
# Returns an {Array} of {Object}s with the following keys:
|
||||||
# * `scopeSelector` The scope-selector {String} with which the value is associated
|
# * `scopeSelector` The scope-selector {String} with which the value is associated
|
||||||
# * `value` The value for the key-path
|
# * `value` The value for the key-path
|
||||||
getAll: (keyPath, options)->
|
getAll: (keyPath, options) ->
|
||||||
{scope, sources} = options if options?
|
{scope, sources} = options if options?
|
||||||
result = []
|
result = []
|
||||||
|
|
||||||
|
@ -437,7 +437,7 @@ TextEditorComponent = React.createClass
|
|||||||
trackSelectionClipboard: ->
|
trackSelectionClipboard: ->
|
||||||
timeoutId = null
|
timeoutId = null
|
||||||
{editor} = @props
|
{editor} = @props
|
||||||
writeSelectedTextToSelectionClipboard = =>
|
writeSelectedTextToSelectionClipboard = ->
|
||||||
return if editor.isDestroyed()
|
return if editor.isDestroyed()
|
||||||
if selectedText = editor.getSelectedText()
|
if selectedText = editor.getSelectedText()
|
||||||
# This uses ipc.send instead of clipboard.writeText because
|
# This uses ipc.send instead of clipboard.writeText because
|
||||||
|
Loading…
Reference in New Issue
Block a user