     animationFramePending = @pendingScrollTop?
     @pendingScrollTop = scrollTop
     unless animationFramePending
-      @requestAnimationFrame =>
+      requestAnimationFrame =>
         @props.editor.setScrollTop(@pendingScrollTop)
 
   onHorizontalScroll: (scrollLeft) ->

  pendingScrollTop: null
  pendingScrollLeft: null
  selectOnMouseMove: false
  updatesPaused: false
  updateRequestedWhilePaused: false
  updateRequested: false
  cursorsMoved: false
  selectionChanged: false

      @clearMouseWheelScreenRowAfterDelay()

    unless animationFramePending
      requestAnimationFrame =>
        {editor} = @props
        editor.setScrollTop(editor.getScrollTop() + @pendingVerticalScrollDelta)
        editor.setScrollLeft(editor.getScrollLeft() + @pendingHorizontalScrollDelta)
