Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function globalizeLocalizer(options) {
let localizers =
Globalize.locale && !Globalize.cultures
? newGlobalize(Globalize, options || {})
: oldGlobalize(Globalize)
configure.setLocalizers(localizers)
return localizers
}
export default function globalizeLocalizer() {
let localizers = (Globalize.locale && !Globalize.cultures)
? newGlobalize(Globalize)
: oldGlobalize(Globalize)
configure.setLocalizers(localizers)
return localizers;
}