mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-13 14:48:36 +00:00
fix: comment
This commit is contained in:
parent
21b99b3810
commit
935d8e8aea
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user