Remodal icon indicating copy to clipboard operation
Remodal copied to clipboard

The globals object is undefined

Open hamishtaplin opened this issue 9 years ago • 1 comments

I'm loading Remodal with Browserify and the options declared on window.REMODAL_GLOBALS don't get applied. Inspecting what is going on, the globals object on line 11 is undefined so the default namespace never gets overriden.

Consequently, the NAMESPACE option doesn't work at all. Might it be better just to make this configurable through the options parameter in the first place?

hamishtaplin avatar Oct 14 '15 12:10 hamishtaplin

👍 I think I'm experiencing something similar with webpack.

alexchantastic avatar Aug 09 '16 06:08 alexchantastic