Emberjs-1.0.0-rc.6 using enumerable to list events occurring on a particular date
问题 When I define a controller action to display dates occuring a particular date, it works correctly, but If I convert that controller action to a property it stops displaying the date occuring on a particular event. The jsfiddle App.EventsController = Em.ArrayController.extend({ todayEvent: function(date){ return this.get('content').filter(function(event) { return (moment(event.get('start')).unix() == moment(date).unix()); }); } }); I can fetch an instance of the controller: u = App.__container