WIP: 👕 Fix linter errors

This commit is contained in:
Machiste Quintana
2015-05-22 16:29:12 -04:00
parent ffd3d7a61f
commit d5bcc0433d
7 changed files with 25 additions and 25 deletions

View File

@@ -174,7 +174,7 @@ class AtomApplication
@on 'application:open-safe', -> @promptForPathToOpen('all', safeMode: true)
@on 'application:open-api-preview', -> @promptForPathToOpen('all', apiPreviewMode: true)
@on 'application:open-dev-api-preview', -> @promptForPathToOpen('all', {apiPreviewMode: true, devMode: true})
@on 'application:inspect', ({x,y, atomWindow}) ->
@on 'application:inspect', ({x, y, atomWindow}) ->
atomWindow ?= @focusedWindow()
atomWindow?.browserWindow.inspectElement(x, y)

View File

@@ -333,7 +333,7 @@ class Cursor extends Model
# Public: Moves the cursor to the top of the buffer.
moveToTop: ->
@setBufferPosition([0,0])
@setBufferPosition([0, 0])
# Public: Moves the cursor to the bottom of the buffer.
moveToBottom: ->
@@ -673,9 +673,9 @@ class Cursor extends Model
start = @getBufferPosition()
{row, column} = start
scanRange = [[row-1, column], [0,0]]
scanRange = [[row-1, column], [0, 0]]
position = new Point(0, 0)
zero = new Point(0,0)
zero = new Point(0, 0)
@editor.backwardsScanInBufferRange /^\n*$/g, scanRange, ({range, stop}) ->
unless range.start.isEqual(zero)
position = range.start