kangax/fabric.js — pull request #225 by mrmoses (2012-08-09 16:47:27+00:00)
Title: set all properties passed to setOptions, not just stateProperties

This was only setting the stateProperties, and ignoring properties like hasControls if they were included in the options.