DEV: removes _.map from codebase (#6616)

This commit is contained in:
Joffrey JAFFEUX
2018-11-19 10:46:46 +01:00
committed by Régis Hanol
parent 907cf3ee2f
commit c4ed353fae
9 changed files with 23 additions and 21 deletions

View File

@ -5,7 +5,7 @@ QUnit.module("Report");
function reportWithData(data) {
return Report.create({
type: "topics",
data: _.map(data, (val, index) => {
data: data.map((val, index) => {
return {
x: moment()
.subtract(index, "days")