         , {}
 
     @_flushBuffer()
+
+    super options, data
 
 
   # Prepares buffer for the next batch of changes.


module.exports =

class ShortcutsController extends events.EventEmitter

  klass = this


  # This also exposes convenience proxy methods to the underlying _keyconfig_
  # instance, and persists the state of a keyconfig#Collection to the app storage.
  #
  constructor: (options={}, data) ->


    @_store  = null
    @_buffer = null

    if options.shortcuts instanceof Shortcuts
      @shortcuts = options.shortcuts
    else
      @shortcuts = new Shortcuts _.keys(defaults).reduce (acc, key) ->
          acc[key] = defaults[key].data
