Skip to content

using in WebWorker #26

Open
Open
@reservoir-dogs

Description

@reservoir-dogs

I use this library in angular's webworker, I have an error, because in webworker, window is not accessible :

Uncaught ReferenceError: Buffer is not defined
    at eval (converter.js:10)

Could you check nodeJS's environment otherwise ?

Maybe with this

var isNode=new Function("try {return this===global;}catch(e){return false;}");

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions