Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Worker is not a function error #38

Open
fernandezpablo85 opened this issue Jan 11, 2012 · 0 comments
Open

Worker is not a function error #38

fernandezpablo85 opened this issue Jan 11, 2012 · 0 comments

Comments

@fernandezpablo85
Copy link

Hello,

Just following the README example I got:

TypeError: object is not a function

The fix I found for this is:

var Worker = requre('webworker').Worker

Not sure why this is happening, the ./lib file correctly exports Worker as it's module.exports.

Thanks

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

No branches or pull requests

1 participant