donphan/app/javascript/locales/index.js

10 lines
129 B
JavaScript
Raw Normal View History

2017-11-21 06:13:37 +00:00
let theLocale;
export function setLocale(locale) {
theLocale = locale;
}
export function getLocale() {
return theLocale;
}