     statusBar = atom.workspaceView.find('.status-bar')
 
     if statusBar.length > 0
-      @.insertBefore(statusBar)
+      @insertBefore(statusBar)
     else
       atom.workspace.getActivePane().append(@)
 

{View, EditorView} = require 'atom'

module.exports =

class VimCommandModeInputView extends View
  @content: ->
    @div class: 'command-mode-input', =>

    if opts.class?
      @editorContainer.addClass opts.class

    if opts.hidden
      @editorContainer.addClass 'hidden-input'

    @singleChar = opts.singleChar

    @defaultText = opts.defaultText ? ''

