Skip to content

Conversation

@PaulRosset
Copy link
Contributor

This PR aims to use the typeof keyword to make it working with browsers.

Using !global in browser would make crash as global object is not defined in browsers.

@PaulRosset PaulRosset changed the title Use typeof comparaison on global object Use typeof comparaison on global object for browsers Dec 13, 2023
@PaulRosset PaulRosset changed the title Use typeof comparaison on global object for browsers Use typeof comparaison on global object for browsers usage Dec 13, 2023
@taozhi8833998 taozhi8833998 self-assigned this Dec 13, 2023
@taozhi8833998 taozhi8833998 added the bug Something isn't working label Dec 13, 2023
@taozhi8833998 taozhi8833998 added this to the 4.15.0 milestone Dec 13, 2023
@taozhi8833998 taozhi8833998 merged commit b0e5426 into taozhi8833998:master Dec 14, 2023
@taozhi8833998
Copy link
Owner

@PaulRosset Thanks for that, merged it.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants