 
   initialize: (serializeState) ->
     @decorationsByEditorId = {}
+    disposables = new CompositeDisposable
+    
     @toggleButtons =
       'line': @lineToggle
       'line-number': @gutterToggle

{View} = require 'atom-space-pen-views'

module.exports =
class DecorationExampleView extends View

    @gutterColorCycle.on 'click', => @cycleDecorationColor('line-number')
    @highlightColorCycle.on 'click', => @cycleDecorationColor('highlight')

    disposables.add atom.workspace.onDidChangeActivePaneItem => @updateToggleButtonStates()

  ## Decoration API methods

