browserify / http-browserify

node's http module, but for the browser
MIT License
244 stars 110 forks source link

Use 'global' instead of window. Fixes #36 #37

Open kumavis opened 10 years ago

kumavis commented 10 years ago

global is provided by browserify to be window in normal windows or self in workers

Fixes #36

lawnsea commented 10 years ago

Any idea when this one might land? I need this for tmpvar/jsdom#711. Is there anything I can do to help move things along?

kumavis commented 10 years ago

@lawnsea The monkey-patch is global.window = global at the top of your worker src