Use scrollView in benchmarks

This commit is contained in:
Corey Johnson
2012-05-15 17:39:44 -07:00
parent e691f1e73a
commit 27f3d3d03d

View File

@@ -53,7 +53,7 @@ describe "editor.", ->
benchmark "moving-to-eof.", 1, ->
editor.moveCursorToBottom()
waitsFor (scrollComplete) ->
editor.scroller.on 'scroll', scrollComplete
editor.scrollView.on 'scroll', scrollComplete
describe "on-first-line.", ->
benchmark "inserting-newline", 5, ->