messageformat / Jed

Gettext Style i18n for Modern JavaScript Apps
http://messageformat.github.io/Jed
MIT License
873 stars 68 forks source link

Fixed an obscure bug that presents in Chromium 29.0.1547.65 #23

Closed joshmh closed 10 years ago

joshmh commented 11 years ago

When running the original code in Chromium 29.0.1547.65, I was getting:

 "Uncaught RangeError: Invalid array length", source: /js/jed.js (139)

Adding the alternate syntax with the 0 argument solves it. All tests pass.

joshmh commented 10 years ago

:thumbsup: