mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
The script checker treats a saveAs or exportFile key of the script's own object literal as the script's own method only when its value is a function expression. A key holding another value, such as a document's method, is still reported as a file write when called, and so is a key whose last value in the literal is not a function expression.