The check for how to render Col looks for == null but doesn't check for false. If passed false, Grid.prototype.renderCols will end up throwing an exception on the line col.attrs = col.attrs || {};
Mithril version 1.x treats false and strings as a vnode while version 2.x does not. I've added a fix to check if the col passed in is an object. Fixed in version 0.2.8.
The check for how to render Col looks for
== null
but doesn't check forfalse
. If passed false, Grid.prototype.renderCols will end up throwing an exception on the linecol.attrs = col.attrs || {};