You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/node_modules_/zone.js/dist/zone-patch-rxjs-fake-async.js

34 lines
1.2 KiB
JavaScript

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('rxjs')) :
typeof define === 'function' && define.amd ? define(['rxjs'], factory) :
(factory(global.rxjs));
}(this, (function (rxjs) { 'use strict';
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Zone.__load_patch('rxjs.Scheduler.now', function (global, Zone, api) {
api.patchMethod(rxjs.Scheduler, 'now', function (delegate) { return function (self, args) {
return Date.now.apply(self, args);
}; });
api.patchMethod(rxjs.asyncScheduler, 'now', function (delegate) { return function (self, args) {
return Date.now.apply(self, args);
}; });
api.patchMethod(rxjs.asapScheduler, 'now', function (delegate) { return function (self, args) {
return Date.now.apply(self, args);
}; });
});
})));