insert-module-globals icon indicating copy to clipboard operation
insert-module-globals copied to clipboard

Support `GLOBAL` in addition to `global`

Open ELLIOTTCABLE opened this issue 12 years ago • 6 comments

Node provides the GLOBAL variable as well as global. Browserify, thus, should support this also.

Forgive me if I went about this the wrong way; I'm not thoroughly familiar with Browserify's structure. If there's other modules I need to change to make this work, let me know.

ELLIOTTCABLE avatar May 21 '13 00:05 ELLIOTTCABLE

using globals is a rude and obnoxious thing, so it's appropriate to be in all caps.

dominictarr avatar Jun 18 '13 11:06 dominictarr

@dominictarr exactly my thinking! :D

ELLIOTTCABLE avatar Jun 18 '13 14:06 ELLIOTTCABLE

It's also amusing to note here that your user-name is capslocked!

dominictarr avatar Jun 18 '13 14:06 dominictarr

@dominictarr I would place myself in the same category as GLOBALS. ;)

ELLIOTTCABLE avatar Jun 18 '13 14:06 ELLIOTTCABLE

Indeed. I admire your consistency!

dominictarr avatar Jun 18 '13 14:06 dominictarr

Also, there is a root global in Node, pointing to global.

jscissr avatar Mar 03 '15 18:03 jscissr