Skip to content

Instantly share code, notes, and snippets.

@dbalatero
Created May 27, 2015 00:53
Show Gist options
  • Select an option

  • Save dbalatero/73a7f74d5a9da51e1590 to your computer and use it in GitHub Desktop.

Select an option

Save dbalatero/73a7f74d5a9da51e1590 to your computer and use it in GitHub Desktop.
var N = {
sync: function (callback) {
callback();
return this;
}
}
N
.sync(function () {
console.log("hello there");
})
.sync(function () {
console.log("this is amazing, we got to the second function");
});
Copy link

ghost commented May 27, 2015

What license is this under? Need to know because I am using this in a multi-billion dollar project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment