Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Oct 1, 2023
1 parent 21b99b3 commit 935d8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transpiler/transpiler.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function isWidgetFunction(node) {
function widgetWithLocation(node) {
const id = 'slider_' + node.arguments[0].start; // use loc of first arg for id
// add loc as identifier to first argument
// the slider function is assumed to be slider(id, value, min?, max?)
// the sliderWithID function is assumed to be sliderWithID(id, value, min?, max?)
node.arguments.unshift({
type: 'Literal',
value: id,
Expand Down

0 comments on commit 935d8e8

Please sign in to comment.