You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ive been making a data layer similar to Backbone but instead of firing change events it schedules a m.redraw. Unfortunately sometimes it gets called before the controller has returned and this results in the page not rendering at all.
I made the redraw call be ignored if the controller is not ready. The normal redrawing mechanism runs when the controller constructor finishes, so this change should simply prevent early null reference exceptions from being thrown. This change is in origin/next and scheduled to be released in v0.1.16
Ive been making a data layer similar to Backbone but instead of firing
change
events it schedules am.redraw
. Unfortunately sometimes it gets called before the controller has returned and this results in the page not rendering at all.Demo: http://jsfiddle.net/sdemjanenko/64tP9/
The text was updated successfully, but these errors were encountered: