mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 21:48:27 +00:00
fix: comment
This commit is contained in:
parent
21b99b3810
commit
935d8e8aea
@ -114,7 +114,7 @@ function isWidgetFunction(node) {
|
|||||||
function widgetWithLocation(node) {
|
function widgetWithLocation(node) {
|
||||||
const id = 'slider_' + node.arguments[0].start; // use loc of first arg for id
|
const id = 'slider_' + node.arguments[0].start; // use loc of first arg for id
|
||||||
// add loc as identifier to first argument
|
// 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({
|
node.arguments.unshift({
|
||||||
type: 'Literal',
|
type: 'Literal',
|
||||||
value: id,
|
value: id,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user