Skip to content

Don't hardcode XHR, abstract file loader #325

@Paril

Description

@Paril

Currently, formats have hardcoded data loading from external sources via URLs which limits the uses of the library. Instead, the raw URL (as it is in the file and/or sent by the user) should be sent back to a loader of some sort which might default to XHR but can be overrided, and essentially provides a load(src) -> Promise<ArrayBuffer|string> function for loading data from any source, including zips, custom buffers, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions