ashnur/virtual-canvas — pull request #1 by Raynos (2014-06-10 09:05:37+00:00)
Title: ensure that `this.vnode` is always set

You read `prev.vnode` in `update()` which means for this to work you MUST always set `this.vnode` in both `init()` and `update()`

There were two branches where you did not set `this.vnode`. One of them should never get hit, so i just threw an exception instead.