Fix line counts returned by DiffCommitModel
Review Request #7236 — Created April 22, 2015 and submitted — Latest diff uploaded
Previously, the total line counts returned was the concatenation of the
keys of thelineCounts
object. This has been fixed to return the
actual sum of the elements in the object and the logic has been
simplified. This fixes the visual style of the
RB.DiffComplexityIconView
s in theRB.DiffCommitIndexView
.
Verified the line counts returned by the
getTotalLineCounts
function
were indeed an integer.