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

Removed window reference in library to enable usage with web workers #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ratpik
Copy link

@ratpik ratpik commented Oct 20, 2014

Just changing the way the library is globally available by removing window reference during initialization. My use case required me to offload some text processing to web workers which is a fairly common thing these days wherein large text is processed asynchronously. By removing the reference to window, this library can be used with web workers or any other context that breaks when the DOM is referenced.

@ratpik
Copy link
Author

ratpik commented Oct 20, 2014

This closes issue #8

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.

1 participant