You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The global object in a browser window is window, which can also be referenced using this, like I said in my previous comment in #6 when writing a tip about how to implement this library as a universal module. However, in the module factory block, the global object is referenced by window, which, when loaded as a CommonJS module is undefined. This causes an error, and prevents the user from using this library.
The global object in a browser window is
window
, which can also be referenced usingthis
, like I said in my previous comment in #6 when writing a tip about how to implement this library as a universal module. However, in the module factory block, the global object is referenced bywindow
, which, when loaded as a CommonJS module isundefined
. This causes an error, and prevents the user from using this library.Attaching screenshot:
FYI @EvandroLG
The text was updated successfully, but these errors were encountered: