Guest User

Untitled

a guest
Jul 19th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. countSummary: function() {
  2. var length = this.get('length');
  3. if(length == 0) return 'No Tasks';
  4. return length == 1 ? '1 Task' : "%@ Tasks".fmt(length);
  5. }.property('length').cacheable(),
Add Comment
Please, Sign In to add comment