paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 389 forks source link

UMD factory code breaks in requirejs #299

Closed garryyao closed 9 years ago

garryyao commented 9 years ago

undefined as the first argument of the UMD factory function doesn't work in AMD/requireJS where the first argument is instead a localRequire function.

ljharb commented 9 years ago

ah, thank you, i'll fix that.

ljharb commented 9 years ago

Released in v0.20.2