 # the marker.
 module.exports =
 class Decoration
-  EmitterMixin.includeInto(this)
 
   # Private: Check if the `decorationProperties.type` matches `type`
   #

        Grim.deprecate 'Decoration::on is deprecated. Use event subscription methods instead.'

    EmitterMixin::on.apply(this, arguments)

    return @flashQueue.shift() if @flashQueue?.length > 0
    null

if Grim.includeDeprecations
  EmitterMixin.includeInto(Decoration)

  Decoration::on = (eventName) ->
    switch eventName
      when 'updated'
        Grim.deprecate 'Use Decoration::onDidChangeProperties instead'
