     shortcutsArr = @context.shortcuts.getShortcuts(@props.name)
     @_unbindShortcuts(shortcutsArr)
     @context.shortcuts.removeUpdateListener(@_onUpdate)
-    @_lastEvent = null
 
-    if @props.isGlobal
+    if @props.global
       element = @_getElementToBind()
       element.removeEventListener 'shortcuts:global', @_customGlobalHandler
 

React = require 'react'
ReactDOM = require 'react-dom'
invariant = require 'invariant'
createMousetrap = require 'mousetrap'

shortcuts = React.createFactory 'shortcuts'


module.exports = React.createClass
  displayName: 'Shortcuts'

  # NOTE: combokeys must be instance per component
  _combokeys: null

  contextTypes:
    shortcuts: React.PropTypes.object.isRequired
