Prototype, emptyFunction and callbacks
Let’s say we have a JavaScript function that looks like this:
function plot(options) {
options = options || {};
this.onUpdate = options.onUpdate;
//
// more code to do something interesting
//
}

