You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@boo1ean
Right now casual locales are broken ... importing one pollutes parts of the global namespace in casual which then causes strange results, like Arabic showing up in German addresses when using casual.ar_SY and casual.de_DE
const casual = require('casual');
casual.seed(41)
casual.ar_SY.city // Arabic, as expected, but followed by
casual.de_DE.city // now Arabic instead of German?
getLang('ar_SY').city;
getLang('de_DE').city; // German, not Arabic
@boo1ean
Right now
casual
locales are broken ... importing one pollutes parts of the global namespace in casual which then causes strange results, like Arabic showing up in German addresses when usingcasual.ar_SY
andcasual.de_DE
Example failing test:
https://gist.github.com/josher19/c4a0450d1eede980342a9e4010c72845
Perhaps Related: #8 and #77
The text was updated successfully, but these errors were encountered: