fix: comment
This commit is contained in:
parent
21b99b3810
commit
935d8e8aea
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue