As documentation says calling reset
without passing any models as argument will empty collection
. So for all the days
where there are no events
you need to call reset
without passing models as an argument or return empty array from the server as you said.
And / Or you can make a check for response in the success
callback and based on the conditions call either
Myapp.CurrentCal.Events.reset(response.attributes.calendar_events);
or
Myapp.CurrentCal.Events.reset();