Fix broken specs

This commit is contained in:
Corey Johnson 2012-04-17 17:44:19 -07:00
parent 9ac72d7fba
commit 594496f1a6

View File

@ -19,7 +19,7 @@ class Autocomplete extends View
initialize: (@editor) ->
requireStylesheet 'autocomplete.css'
@editor.on 'autocomplete:toggle', => @toggle()
@on 'autocomplete:toggle', => @toggle()
@on 'move-up', => @previousMatch()
@on 'move-down', => @nextMatch()
@editor.on 'buffer-path-change', => @setCurrentBuffer(@editor.buffer)