Skip to content

Instantly share code, notes, and snippets.

@marcelometal
Last active July 10, 2018 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelometal/768454831c0c10ee03b939187b7bebbf to your computer and use it in GitHub Desktop.
Save marcelometal/768454831c0c10ee03b939187b7bebbf to your computer and use it in GitHub Desktop.
__()
// i18n shim! I feel bad for doing this =(
// https://github.com/megawac/async/blob/d2dd36b4558f483682f3c672630fdcb36a96d4d2/lib/async.js#L16
((typeof self === "object" && self.self === self && self) ||
(typeof global === "object" && global.global === global && global) ||
this).__ = (x) => x;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment