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 thelineCountsobject. 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.DiffComplexityIconViews in theRB.DiffCommitIndexView.
Verified the line counts returned by the
getTotalLineCountsfunction
were indeed an integer.