mathiasbynens / punycode.js

A robust Punycode converter that fully complies to RFC 3492 and RFC 5891.
https://mths.be/punycode
MIT License
1.59k stars 158 forks source link

punycode(1.3.2) have AMD id('punycode'), which isn't comfortable when use requireJS. #88

Open oldmtn opened 6 years ago

oldmtn commented 6 years ago

Use the latest punycode, since punycode(1.3.2) export with: define('punycode', function() { return punycode; }); which is portable when using requireJS.

For more detail, see https://github.com/browserify/browserify/pull/1865