ibm-js / ecma402

ECMA-402 JavaScript Internationalization API "shim"
Other
34 stars 21 forks source link

new Intl.NumberFormat("") fails #31

Closed wkeese closed 10 years ago

wkeese commented 10 years ago

As mentioned in https://github.com/ibm-js/deliteful/commit/258b3dd3c470b536802a0fc6a1746cdd815778ba#commitcomment-6347592, new Intl.NumberFormat("") fails to initialize. It should probably do the same thing as new Intl.NumberFormat().

wkeese commented 10 years ago

Actually, nevermind, @cjolif informed me that new Intl.NumberFormat("") for native implementations doesn't work either, so no point in fixing it in the shim.

JCEmmons commented 10 years ago

Just use new Intl.NumberFormat() instead. No need for an empty string.

Regards,

John C. Emmons Globalization Architect & Unicode CLDR TC Chairman IBM Software Group Internet: emmo@us.ibm.com

From: Bill Keese notifications@github.com To: ibm-js/ecma402 ecma402@noreply.github.com, Date: 05/16/2014 07:22 PM Subject: Re: [ecma402] new Intl.NumberFormat("") fails (#31)

Actually, nevermind, @cjolif informed me that new Intl.NumberFormat("") for native implementations doesn't work either, so no point in fixing it in the shim.

— Reply to this email directly or view it on GitHub.