Skip to content

loaded as worker detection and support#347

Open
seacgroup wants to merge 1 commit intojanl:masterfrom
seacgroup:master
Open

loaded as worker detection and support#347
seacgroup wants to merge 1 commit intojanl:masterfrom
seacgroup:master

Conversation

@seacgroup
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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