a zip code crypto-currency system good for red ONLY

rxjs-fake-async.ts 827B

123456789101112131415161718192021222324
  1. /**
  2. * @license
  3. * Copyright Google Inc. All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. import {Scheduler} from 'rxjs/Scheduler';
  9. import {async} from 'rxjs/scheduler/async';
  10. import {asap} from 'rxjs/scheduler/asap';
  11. Zone.__load_patch('rxjs.Scheduler.now', (global: any, Zone: ZoneType, api: _ZonePrivate) => {
  12. api.patchMethod(Scheduler, 'now', (delegate: Function) => (self: any, args: any[]) => {
  13. return Date.now.apply(self, args);
  14. });
  15. api.patchMethod(async, 'now', (delegate: Function) => (self: any, args: any[]) => {
  16. return Date.now.apply(self, args);
  17. });
  18. api.patchMethod(asap, 'now', (delegate: Function) => (self: any, args: any[]) => {
  19. return Date.now.apply(self, args);
  20. });
  21. });