 
 			# If backspace key
 			if e.which is 8
-				@emit(Events.BackSpaceKey, event)
+				@emit(Events.BackspaceKey, event)
 
 			# Revert to placeholder
 			if @value is ""

	@define "multiLine", @simpleProperty("multiLine", false)

	onEnterKey: (cb) -> @on(Events.EnterKey, cb)
	onBackSpaceKey: (cb) -> @on(Events.BackSpaceKey, cb)
	onInputChange: (cb) -> @on(Events.InputValueChange, cb)
	onInputFocus: (cb) -> @on(Events.InputFocus, cb)
	onInputBlur: (cb) -> @on(Events.InputBlur, cb)

{Events} = require "./Events"

Events.EnterKey  = "EnterKey"
Events.BackspaceKey  = "BackspaceKey"
Events.InputValueChange = "InputValueChange"
Events.InputFocus = "InputFocus"
Events.InputBlur = "InputBlur"
