mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 17:09:46 +00:00
With automation read roots in force, svgInteractivity.info and the files reply of addFile and removeFile returned every linked JavaScript file as stored, including paths outside the roots. They now name such a file by its file name alone, as document.json does; a file inside the roots and a URL are named as they are, and the document keeps every path. removeFile also unlinks a file outside the roots by that file name. When the name fits more than one linked file, it returns an error that names no stored path and unlinks nothing. addFile still treats only the same text as already linked. In a frame a request drives, the JavaScript Files dialog lists such a file by its file name while its selection keeps the file as linked, and ui.inspect gives the selected file the same way. The person's frames show full paths.