Extending EventEmitter with coffeescript + browserify

EventEmitter = (require "events").EventEmitter

class MyClass extends EventEmitter
  constructor: ->
    super()

人生捗る