Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions 08-excel-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

newState[x][y] = cell

computeAllCells(newState, generateCellsConstants(newState))
computeAllCells(newState)

STATE = newState

Expand All @@ -128,10 +128,11 @@
}).join('\n')
}

function computeAllCells(cells, constants) {
function computeAllCells(cells) {
console.log('computeAllCells')
cells.forEach((rows, x) => {
rows.forEach((cell, y) => {
const constants = generateCellsConstants(cells)
const computedValue = computeValue(cell.value, constants)
cell.computedValue = computedValue
})
Expand Down