Skip to content

Instantly share code, notes, and snippets.

Avatar
🌍
<3

Mathieu KIM ROBIN MathRobin

🌍
<3
  • /dev/null
View GitHub Profile
@MathRobin
MathRobin / HowTo.js
Created Oct 25, 2012
Lightweight PubSub constructor
View HowTo.js
var pubsub = new Pubsub();
pubsub.subscribe("someEvent", function (message) {
console.log('Hello', messge);
});
pubsub.publish("someEvent", "world");
pubsub.unsubscribe("someEvent");
@MathRobin
MathRobin / LICENSE
Created Sep 24, 2012
osmLeaflet.jQuery, lightning talk for Paris JS, september 2012
View LICENSE
CREATIVE COMMONS BY
You can’t perform that action at this time.