ericdrowell/KineticJS — pull request #26 by christophercurrie (2012-06-08 22:29:09+00:00)
Title: Call setSize when height/width updated on a Stage using setAttrs.

Calling setAttrs on a Stage to try and update the height or width does not have the same effect as calling setSize; the attributes are not cascaded down to the layers and the layers are not redrawn. This patch updates setAttrs to invoke setSize when required.