mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
main reads a script's File for host class members through file_classes::file_path and defines FILE_REF_KEY and file_ref_path in host_classes. file_path now reads the path from the object's FsEntry slot, so an object made with Object.create(File.prototype) still is not a File, and the branch's own copies of FILE_REF_KEY, file_ref_path and file_ref_of are removed. file_ref uses main's key. The host class tests set the new HostClass::info field.