kangax/fabric.js — pull request #304 by sjpemberton09 (2012-10-30 23:42:23+00:00)
Title: Added code to resize cache canvas.

_setDimensions will now correctly alter the cache canvas size when the
other canvases are resized. This ensures per pixel hit testing will
still function.

This was missed when we implemented Per-Pixel hit testing.