Skip to content

Lock singleton to global, add onmiss entry point

Compare
Choose a tag to compare
@omrilotan omrilotan released this 24 Sep 10:40
· 44 commits to master since this release
  • Lock singleton to global
  • Add onmiss entry point, so singletons can also register for missing translation event

Example

i18n.onmiss((key, scope) => console.error(`Missing key "${key}" ${scope ? `In scope: "${scope}"`}`));