DrewDahlman / Mason

Mason.js for creating a perfect grid with jQuery.
http://masonjs.com/
MIT License
1.22k stars 184 forks source link

SCRIPT5007: Unable to get value of the property '1': object is null or undefined. #9

Closed Bananamoon closed 11 years ago

Bananamoon commented 11 years ago

There is an error in IE8 on line 229:

if( w >= settings.columns[colsCount][1]){

My project is not working, and I tested with the demo included in the zipfile, but that is not working either.

Is there any fix for this?

Bananamoon commented 11 years ago

There is a bug in demo. Actually, in all of it. Take a look at sizes: [ [1,1], [1,2], [2,2], ], That last comma after [2,2] is the dealbreaker. Remove the comma and everything works.