Baby Steps

With the basic functionality of HtmlCoordinate in place, it’s time to start refactoring our client code to use it. This kind of refactoring is very easy to get wrong, so we take it slow. Our caution pays off—nothing goes wrong that we can’t easily fix. By the end of the episode, we’ve migrated client.js to use our new HtmlCoordinate object.

comments powered by Disqus