Skip to content

offset not defined, throws error in 'use strict' mode #23

Description

@mhkeller

Because offset is not declared with var in structure.js, this package breaks if you try to bundle it with something like rollup and you have 'use strict'. The workaround is that you can tell rollup to not 'use strict' but it's probably better that variables are declared.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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