fnando/i18n-js — pull request #87 by pkzdev (2012-03-18 21:55:22+00:00)
Title: Fix export when try to use locale with array only

Eg.:
```# config
translations:
- file: "app/assets/javascripts/i18n/translation.%{locale}.js"
only:
- 'boolean'
- 'date'
```
This config isn't working, only exports null in translations. And this code fix this...
but I'm not sure if this is the best way to do this since I don't know much about ruby yet... but it's working.