mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
wip: starts upgrading lodash to v3
This commit is contained in:
@@ -81,7 +81,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
||||
|
||||
_(clonedTasks).each(function(val, type) {
|
||||
challenge[type + 's'].forEach(_cloneTaskAndPush);
|
||||
});
|
||||
}).value();
|
||||
|
||||
$scope.obj = $scope.newChallenge = new Challenges.Challenge({
|
||||
name: challenge.name,
|
||||
|
||||
Reference in New Issue
Block a user