wip: starts upgrading lodash to v3

This commit is contained in:
Matteo Pagliazzi
2015-11-11 10:32:49 +01:00
parent 8f9d2a5f9a
commit 3795b1d151
13 changed files with 35 additions and 27 deletions

View File

@@ -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,