Permalink
Browse files

Remove unneeded mapping to _.toString

  • Loading branch information...
1 parent 1fe2ecb commit 7d7758911ab15392ae50da085cb2d79f03af38ed @dcbriccetti dcbriccetti committed Nov 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 widgets/src/main/scala/net/liftweb/widgets/flot/Flot.scala
@@ -241,7 +241,7 @@ object Flot {
}) + " data: " + value + "}"
}
val valsAndLabels = pie.values.zipWithIndex.map(vi => ValAndLabel(vi._1, pie.labels.map(_(vi._2))))
- JsCrVar("data_" + idPlaceholder, JsRaw(valsAndLabels.map(_.toString).mkString("[", ",", "]")))
+ JsCrVar("data_" + idPlaceholder, JsRaw(valsAndLabels.mkString("[", ",", "]")))
}
/**

0 comments on commit 7d77589

Please sign in to comment.