chore(dependency): Upgrade lodash from v2 to v3

This commit is contained in:
Blade Barringer
2015-12-26 08:18:58 -06:00
parent 33714b4947
commit b3050e5a67
15 changed files with 31 additions and 31 deletions

View File

@@ -126,7 +126,7 @@ preenHistory = function(history) {
*/
api.preenTodos = function(tasks) {
return _.where(tasks, function(t) {
return _.filter(tasks, function(t) {
return !t.completed || (t.challenge && t.challenge.id) || moment(t.dateCompleted).isAfter(moment().subtract({
days: 3
}));