Skip to content

Use window if available#14

Open
paulvandermeijs wants to merge 1 commit into
Holger-Will:masterfrom
paulvandermeijs:patch-1
Open

Use window if available#14
paulvandermeijs wants to merge 1 commit into
Holger-Will:masterfrom
paulvandermeijs:patch-1

Conversation

@paulvandermeijs

@paulvandermeijs paulvandermeijs commented Jan 14, 2022

Copy link
Copy Markdown

For browser and Node.js support this was referenced. However, this doesn't work in React Native where window is defined but this isn't.

Fixes #13

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using in React Native TypeError: undefined is not an object (evaluating 'root.Code128Generator')

1 participant