Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Oct 19, 2024
1 parent c1aab3b commit 00ae5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marks/waffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export class WaffleY extends BarY {
}

function waffleRender(y) {
const {unit, gap, rx, ry, round} = this;
return function (index, scales, {href, ...values}, dimensions, context) {
const {unit, gap, rx, ry, round} = this;
const {document} = context;
const Y1 = values.channels[`${y}1`].value;
const Y2 = values.channels[`${y}2`].value;
Expand Down

0 comments on commit 00ae5ec

Please sign in to comment.