thlorenz/exposify — pull request #3 by mikaelhm (2014-05-22 23:28:51+00:00)
Title: Global scope is not always window.

Fixed the issue when using a module in a web worker.

There the `global` object is not window but `self`.

See https://github.com/thlorenz/browserify-shim/issues/53
For a discussion.