jeremyckahn/shifty

root is null when module is run in strict mode

Closed this issue · 2 comments

The build process I'm using enforces strict mode on each of the projects dependencies. This causes the .call(null) trick for getting 'this' to be global scope to fail (it contains null).
Do you think this is worth remedying? It would certainly help me! Cheers.

Hi @lrnk, thanks for reporting this! Yes, this should definitely be addressed. I haven't seen this issue myself, so it's hard for me to make and test a fix. Could you please put together a Pull Request (or at least provide steps to reproduce) if it's not too much trouble?

Fixed by #82.