akoenig / angular-deckgrid

A lightweight masonry-like grid for AngularJS.
http://akoenig.github.io/angular-deckgrid
MIT License
1.1k stars 191 forks source link

Cannot read property 'columns' of undefined #83

Open dmitryevseev opened 9 years ago

dmitryevseev commented 9 years ago

I see this error logged by sentry from one of users of the production application:

Cannot read property 'columns' of undefined

/vendor/angular-deckgrid/angular-deckgrid.js
369.  if (layout.columns !== this.$$scope.layout.columns) {

User agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.65 Safari/537.36

sunshineo commented 8 years ago

+1 I'm on chrome

screen shot 2015-09-18 at 1 05 08 am
sunshineo commented 8 years ago

I created a pull request https://github.com/akoenig/angular-deckgrid/pull/94 Please merge if you see this.