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 code assumes that module is always available, which is not true (e.g. browser with requireJS). With the following UMD boilerplate it can be much friendlier to use in different environments.
The changes would be straightforward:
Remove the module.exports = punycode; line at the very end
The code assumes that
module
is always available, which is not true (e.g. browser with requireJS). With the following UMD boilerplate it can be much friendlier to use in different environments.The changes would be straightforward:
Remove the
module.exports = punycode;
line at the very endWrap remaining code like this:
The text was updated successfully, but these errors were encountered: