You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the version of the runtime? What JS language spec is (fully or almost fully) implemented?
Hmm, I've tried to figure this out, but it doesn't appear to be clearly documented. The JavaScript Host Environment page at least says that "The QML runtime implements the 7th edition of the standard."
What parts of the "standard" library are available?
Hello :)
I imagine Tiled uses V8 for JS scripting, but what is less clear is the exact capabilities of the runtime.
More precisely:
Currently, I had to dial the
"target"
and"lib"
in tsconfig.json back to es5 to experience less type errors when things are not available. I am not advocating updating to newer versions (I personally think JS was pretty ok 10 years ago 🙂), but maybe having this documented would make sense, ideally here https://www.mapeditor.org/docs/scripting/index.html and here https://doc.mapeditor.org/en/stable/reference/scripting/The text was updated successfully, but these errors were encountered: