Skip to content

Use clear options #36

@Sebmaster

Description

@Sebmaster

Since I just saw 546849f with the updated readme and options, we need to make sure the options have a clear purpose:

  • path (legacyEvalPath): Will be defined in node.js environment (since it's needed anyways), but will default to null in browser environments. If the path is set, it will fall back to this file in case of a cross-site-origin restriction (i.e. IE10). It will therefore merge the meaning with the current ie10shim option.
  • maxWorkers: Is obvious and will stay this way.
  • synchronous: If webworkers are not available at all (i.e. IE < 10, etc), fall back to synchronous operations (with an initial setTimeout, currently no setTimeouts afterwards, they may be possible with .map() though).

Ping: @adambom - Please add the remaining options to the readme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions