A Distinctive Signature

We want to modify HtmlElement to change the signature of its event handler functions. Previously, HtmlElement passed its event handlers an {x, y} object. Now, we want to pass them an HtmlCoordinate instance. How can we do that cleanly, in small steps, without breaking the world? We give it a shot.

comments powered by Disqus