substack/node-browserify — pull request #155 by jryans (2012-05-28 02:40:26+00:00)
Title: Add globals lazily for all modules

Since `Buffer` is a global in Node.js, it would be nice if we supported that without having to modify the existing modules.

This change enables that, but does it lazily, so it is only exposed if used (to keep the output size down for those who don't need it).