Skip to content

Use mina? #7

Description

@jakow

Hello,

I am using Snap.svg-cjs and I am trying to import mina: import Snap, { mina } from 'snapsvg-cjs'; .
However, mina is not defined in this case. However, if I then use mina defined on window: import Snap from 'snapsvg-cjs'; const mina = window.mina;, then I am able to use it. Is this a problem with the package?

Cheers,
Jakub

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