Skip to content

Odd Interface with "opts/readAsMap" #10

@aaronm67

Description

@aaronm67

The interface with the readAsMap is a bit awkward -- typically I'd assume that this:

setupInput(input, {
    readAsMap: { ".*", "DataURL"}
}

would make all inputs return a DataURL, or this:

setupInput(input, {
    readAsMap: { }
}

would make all inputs return the "readAsDefault". Instead, both of these situations end up with a "readAsMap" containing

    {
         'image/*': 'DataURL',
        'text/*' : 'Text'
    }

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