Beispiel #1
0
 isCompleted: function() {
   return this.get('endDate') <= dateHelper.todayDate();
 }.property('endDate'), 
Beispiel #2
0
    complete: function() {
      var model = this.get('model');
      model.set('endDate', dateHelper.todayDate());      

      return this.send('updateGoal', model);      
    },
Beispiel #3
0
 checkedIn: function() {
   return this.get('controllers.application.lastCheckInDateVault') && 
     this.get('controllers.application.lastCheckInDateVault').get('value') === dateHelper.todayDate();
 }.property('controllers.application.lastCheckInDateVault'),