Skip to content

Remove arrow syntax for browser compatibility #6

@okmediagroup

Description

@okmediagroup

Hello,

If you want this project to be browser compatible, I'd suggest replacing the arrow syntax in module.exports = value => with module.exports = function (value) as a lot of build tools (Ie. Babel) will not transpile node_modules into ES5 by default. Using arrow syntax here shouldn't be functionally different than function syntax.

Regards.

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