jrburke/requirejs — pull request #718 by basarat (2013-04-21 06:25:39+00:00)
Title: Fixed for working in webworker

using document instead of window.document was giving the error "document is not defined".
I am using chrome canary 28 (latest)