Skip to content

Instantly share code, notes, and snippets.

@arnar
Last active December 14, 2015 20:19
Show Gist options
  • Save arnar/5143144 to your computer and use it in GitHub Desktop.
Save arnar/5143144 to your computer and use it in GitHub Desktop.
Monitor.registerStub = function (name, fun) {
Monitor.prototype[name] = function () { return fun.apply(this, arguments); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment