melonJS
    Preparing search index...

    Interface AssetParser

    interface AssetParser {
        needsBaseURL: (arg0: string) => boolean;
        normalizeSrc: (arg0: string) => string;
        parse: Function;
    }
    Index
    needsBaseURL: (arg0: string) => boolean

    whether the normalized src is relative to this type's base URL. Declares only this type's own exceptions, such as a local() font naming an installed family — data URIs are excluded for every type before this is consulted

    normalizeSrc: (arg0: string) => string

    turns a type-specific descriptor into a bare path, before any base URL is applied. Identity unless the type overrides it

    parse: Function

    preloads the asset and returns how many resources it will load (0 when already cached)