Self-Contained

Registering events on the document causes problems with our tests, and it’s not very clean. We refactor our code and tests to make the drawing area entirely self-contained, only registering event handlers on itself.

comments powered by Disqus