mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-31 21:27:00 -06:00
swatch.library.load, graphicStyle.loadLibrary, symbol.loadLibrary and brush.loadLibrary read the whole file or decoded data before checking `name`, so a call with a `name` that is not a string read the file first, and with a missing file reported the file error instead of the parameter error. The shared loader now checks every parameter before it reads anything.