philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

IE8 zero/zero error changing layout #139

Closed ralphsmith80 closed 11 years ago

ralphsmith80 commented 11 years ago

When there is a lot of node objects some of the nodes will have areas of 0. This causes and error in IE8 when changing layouts from squarify to slice and dice because the code here and here will result in a NaN object which IE8 doesn't like.

philogb commented 11 years ago

You fixed it :)