maqetta/maqetta — comment on commit 417055e4f5ebad10c3b950efba9d9359bbbd07d9
File:  line 0
By JonFerraiolo:

@jhpedemonte, @peller - The fixes above are mostly "safe band-aids".

Band-aid because this is a specific fix to get shapes working with states and probably not the complete and optimal solution, especially since it includes Dijit-specific calls in the runtime version of States.js, so we haven't addressed the requirements for other libraries.. The complete and optimal solution is likely only going to be possible after a major cleanup of the states logic across the code base (which I hope to be doing in the M5 timeframe).

I think the above code is safe because it carefully checks for dijit, parent, and resize before invoking a resize() method.