I just want to report a warning raised by vis.js sinve this module tends to pass invalid parameters.
vis.js:3664 Invalid type received for "container". Expected: dom. Received [undefined] "undefined"
Problem value found at:
options = {
configure: {
container
}
}
vis.js:3664 Invalid type received for "code". Expected: string. Received [undefined] "undefined"
Problem value found at:
options = {
nodes: {
icon: {
code
}
}
}
vis.js:42587 Errors have been found in the supplied options object.
For parameter code the solution was simply passing "undefined" with extra quotes so it becomes a string after parsed by vis.js. For parameter container this simple fix didn't work, even though their code should be able to accept undefined.
Hey,
I just want to report a warning raised by vis.js sinve this module tends to pass invalid parameters.
For parameter
code
the solution was simply passing "undefined" with extra quotes so it becomes a string after parsed by vis.js. For parametercontainer
this simple fix didn't work, even though their code should be able to accept undefined.I was able to fix it like this:
Would be nice to have this fixed ;)
Greetings, Thomas