Skip to content

Instantly share code, notes, and snippets.

View TheLudd's full-sized avatar

Ludwig Magnusson TheLudd

View GitHub Profile
module.exports = function(events, R) {
return {
listeners: {},
addListener: function(key, fn) {
events.on(key, fn);
this.listeners[key] = fn;
},

Keybase proof

I hereby claim:

  • I am theludd on github.
  • I am ludwig (https://keybase.io/ludwig) on keybase.
  • I have a public key whose fingerprint is 514F 4247 01DD 3ED0 805F 638C 2AB0 6B41 B1E1 BB99

To claim this, I am signing this object: