     modeString = mode
     modeString += "." + submode if submode?
     @element.className = "#{@prefix}-#{mode}"
-    @element.textContent = modeToContent[modeString]
+    @element.textContent = modeStringToContent[modeString]
 
   attach: ->
     @tile = @statusBar.addRightTile(item: @container, priority: 20)

{ElementBuilder} = require './utils'

modeToContent =
  "normal": "Normal"
  'insert': "Insert"
  'insert.replace': "Replace"

  "visual.characterwise": "Visual Char"
  "visual.linewise": "Visual Line"
  "visual.blockwise": "Visual Block"
  "operator-pending": "Operator Pending"

module.exports =
class StatusBarManager
