blob: 99df57621305a233d78b2317a28de1fb439d1ca0 [file] [log] [blame]
/**
* @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.call(self);
}; });
api.patchMethod(rxjs.asyncScheduler, 'now', function (delegate) { return function (self, args) {
return Date.now.call(self);
}; });
api.patchMethod(rxjs.asapScheduler, 'now', function (delegate) { return function (self, args) {
return Date.now.call(self);
}; });
});
})));