strongloop / strong-globalize

strong-globalize is built on Unicode CLDR and jquery/globalize and implements automatic extraction of strings from JS source code and HTML templates, lint the string resource, machine-translate them in seconds. In runtime, it loads locale and string resource into memory and provides a hook to persistent logging.
Other
25 stars 16 forks source link

fix: remove the possibility of memory leak and performance penalty #167

Closed raymondfeng closed 4 years ago

raymondfeng commented 4 years ago

Fixes https://github.com/strongloop/strong-globalize/pull/165#discussion_r437525756

raymondfeng commented 4 years ago

@rmg I added one more commit to have an instance of AcceptLanguage as a property of StrongGlobalize. PTAL.