debug logging removed

This commit is contained in:
Loic Nageleisen 2015-05-24 11:47:46 +02:00
parent 8eeb2dc57e
commit 1c064ec13a
2 changed files with 0 additions and 2 deletions

View file

@ -154,7 +154,6 @@ class Ex
args = args.trim() args = args.trim()
filePaths = args.split(' ') filePaths = args.split(' ')
filePaths = undefined if filePaths.length is 1 and filePaths[0] is '' filePaths = undefined if filePaths.length is 1 and filePaths[0] is ''
console.log filePaths, filePaths is ['']
pane = atom.workspace.getActivePane() pane = atom.workspace.getActivePane()
if filePaths? and filePaths.length > 0 if filePaths? and filePaths.length > 0
newPane = pane.splitUp() newPane = pane.splitUp()

View file

@ -16,7 +16,6 @@ module.exports = {
findPreviousInBuffer : (buffer, curPos, pattern) -> findPreviousInBuffer : (buffer, curPos, pattern) ->
found = @findInBuffer(buffer, pattern) found = @findInBuffer(buffer, pattern)
console.log found, curPos
less = (i for i in found when i.compare([curPos, curPos]) is -1) less = (i for i in found when i.compare([curPos, curPos]) is -1)
if less.length > 0 if less.length > 0
return less[less.length - 1].start.row return less[less.length - 1].start.row