Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ES6 Module syntax #13

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

domin-sweet
Copy link

@domin-sweet domin-sweet commented Jul 14, 2020

-Updated source files to ES6.
-Cleaned the file-structure for easier development.
-Altered npm scripts for easier packaging/building/testing.
-Updated the global export to attach to self rather than window, for compatibility with workers.

@domin-sweet domin-sweet changed the title WorkerGlobalScope compatibility enhancement Update to ES6 Module syntax Jul 15, 2020
@davidfig
Copy link
Owner

This looks really good. Thanks for the work. Can you update the readme file with the new usage? Probably put a note that we're deprecating certain usages in v3 (ie, you can no longer do const boxBox = require('intersects/boxBox')).

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.

2 participants