Fix line counts returned by DiffCommitModel

Review Request #7236 — Created April 22, 2015 and submitted — Latest diff uploaded

Information

Review Board
dvcs
6e8502a...

Reviewers

Previously, the total line counts returned was the concatenation of the
keys of the lineCounts 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.DiffComplexityIconViews in the RB.DiffCommitIndexView.

Verified the line counts returned by the getTotalLineCounts function
were indeed an integer.

    Loading...