Skip to content

Commit

Permalink
delete dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
robertylewis committed Oct 22, 2023
1 parent 13ad3d3 commit f8adb09
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions templates/mathlib_stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ <h2>Dependency graph</h2>
mathlib4_data.data = Array(missing_len).fill(0).concat(mathlib4_data.data)
}

function pad_mathlib4_array(index, mathlib3_lines, mathlib4_lines) {
missing_len = mathlib3_lines[index].length - mathlib4_lines[index].length
alert(missing_len)
mathlib4_lines[index] = Array(missing_len).fill(0).concat(mathlib4_lines[index])
}

function merge_timestamps_and_values(mathlib3_ts, mathlib3_vals, mathlib4_ts, mathlib4_vals) {
// Initialize arrays for merged timestamps, mathlib3 values, and mathlib4 values
const mergedTimestamps = [];
Expand Down Expand Up @@ -251,8 +245,6 @@ <h2>Dependency graph</h2>
window.onload = function() {
pad_mathlib4_data(by_year_month, by_year_month4)
pad_mathlib4_data(by_year, by_year4)
// pad_mathlib4_array('Number of lines', lines_by_date, lines_by_date4)
// pad_mathlib4_array('Number of files', files_by_date, files_by_date4)

makeBarChart('by_year_month', 'Commits by month', by_year_month, by_year_month4)
makeBarChart('by_year', 'Commits by year', by_year, by_year4)
Expand Down

0 comments on commit f8adb09

Please sign in to comment.