Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
333 B

  1. export default function symbolObservablePonyfill(root) {
  2. var result;
  3. var Symbol = root.Symbol;
  4. if (typeof Symbol === 'function') {
  5. if (Symbol.observable) {
  6. result = Symbol.observable;
  7. } else {
  8. result = Symbol('observable');
  9. Symbol.observable = result;
  10. }
  11. } else {
  12. result = '@@observable';
  13. }
  14. return result;
  15. };