Skip to content

Commit

Permalink
Propagate point visualization to the webui
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzealot committed Mar 15, 2021
1 parent 5c564cb commit 5e36f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ergogen.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ module.exports = {
const [points, units] = points_lib.parse(config.points)
if (debug) {
results.points = {
demo: points_lib.visualize(points),
data: points,
units: units
}
Expand Down Expand Up @@ -50,5 +49,6 @@ module.exports = {
}

return results
}
},
visualize: points_lib.visualize
}

0 comments on commit 5e36f0e

Please sign in to comment.