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

@@ -11,7 +11,7 @@ function beastMasterProgress(pets) {
_(DROP_ANIMALS).each(function(animal) {
if(pets[animal] > 0 || pets[animal] == -1)
count++
});
}).value();
return count;
}
@@ -22,7 +22,7 @@ function dropPetsCurrentlyOwned(pets) {
_(DROP_ANIMALS).each(function(animal) {
if(pets[animal] > 0)
count++
});
}).value();
return count;
}
@@ -32,7 +32,7 @@ function mountMasterProgress(mounts) {
_(DROP_ANIMALS).each(function(animal) {
if (mounts[animal])
count++
});
}).value();
return count;
}