flexie
flexie copied to clipboard
javascript error when flexMatrix defined
Hello,
when I use the js api , with following :
var box = new Flexie.box({ target : document.getElementById("main"), orient : "vertical", align : "center", flexMatrix : [1,2,7] });
when ever I use flexMatrix I get a javascript error such that it points to line 1553 in version (1.0.3):
for (m = 0, n = x.properties.length; m < n; m++) { rule = x.properties[m]; ...
here , debugger says properties == undefined so length gives error. As a temporary workaround I put if(x.properties) on top of the for loop
Having this issue as well. I'll try the workaround above.
Edit: The workaround didn't work for me. Got me to line 1899 (of the unedited source), but flex.nodes
is undefined and causing problems with cleanPositioningProperties()
.