mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:31:18 +08:00
DEV: removes _.map from codebase (#6616)
This commit is contained in:

committed by
Régis Hanol

parent
907cf3ee2f
commit
c4ed353fae
@ -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")
|
||||
|
Reference in New Issue
Block a user