-
Notifications
You must be signed in to change notification settings - Fork 0
/
rxjs_shims.js
44 lines (41 loc) · 1.38 KB
/
rxjs_shims.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* @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
*/
/**
* @fileoverview these provide named UMD modules so that we can bundle
* the application along with rxjs using the concatjs bundler.
*/
// rxjs/operators
(function (factory) {
if (typeof module === 'object' && typeof module.exports === 'object') {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
} else if (typeof define === 'function' && define.amd) {
define('rxjs/operators', ['exports', 'rxjs'], factory);
}
})(function (exports, rxjs) {
'use strict';
Object.keys(rxjs.operators).forEach(function (key) {
exports[key] = rxjs.operators[key];
});
Object.defineProperty(exports, '__esModule', { value: true });
});
// rxjs/testing
(function (factory) {
if (typeof module === 'object' && typeof module.exports === 'object') {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
} else if (typeof define === 'function' && define.amd) {
define('rxjs/testing', ['exports', 'rxjs'], factory);
}
})(function (exports, rxjs) {
'use strict';
Object.keys(rxjs.testing).forEach(function (key) {
exports[key] = rxjs.testing[key];
});
Object.defineProperty(exports, '__esModule', { value: true });
});