Skip to content

Instantly share code, notes, and snippets.

View markspereira's full-sized avatar

Mark Pereira markspereira

  • zed.io
  • Sydney, Australia
View GitHub Profile
//index.js
var Emitter = require('./emitter');
var emtr = new Emitter();
emtr.on('greet', function(){
console.log('Hello 1');
});
emtr.on('greet', function(){