Skip to content

Fix for IE11 - don't use destructuring assign #1

Description

@jeffsenn

Doesn't work in IE11 due to this line in index.js:

const {float32, fract32} = require('to-float32')

Fix (remove destructing assignment):

const to_float32 = require('to-float32')

const float32 = to_float32.float32

const fract32 = to_float32.fract32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions