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

loaded as worker detection and support #347

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

Conversation

seacgroup
Copy link

starting at line 567, detect if running as worker, if so add message listener

starting at line 567, detect if running as worker, if so add message listener
@seacgroup
Copy link
Author

well yeah going to fail in Travis cl build, I suppose it can be changed to:
if ( typeof self === 'object' && self.WorkerGlobalScope && self instanceof WorkerGlobalScope ) {

so what platforms are we talking about that don't support self?"

@mjackson
Copy link
Contributor

My preference would be to leave this as a 3rd party add-on to the core mustache.js library in a separate repo.

@nikelborm
Copy link

This PR can most likely be closed. PR's author hasn't been online for a long time.

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

Successfully merging this pull request may close these issues.

4 participants