blob: a3171273d5ef41ba229869d0dcb64317420dd4e6 [file] [log] [blame]
Sean Condondfc6dba2019-11-09 11:50:23 +00001/**
2 * @fileoverview Provides named UMD shims for `rxjs/operators` and `rxjs/testing`.
3 * This file should be included in the "scripts" of a "ts_devserver"
4 * rule and the "deps" of a "ts_web_test_suite" rule.
5 */
6// rxjs/operators
7(function(factory) {
8 if (typeof module === 'object' && typeof module.exports === 'object') {
9 var v = factory(require, exports);
10 if (v !== undefined) module.exports = v;
11 } else if (typeof define === 'function' && define.amd) {
12 define('rxjs/operators', ['exports', 'rxjs'], factory);
13 }
14})(function(exports, rxjs) {
15 'use strict';
16 Object.keys(rxjs.operators).forEach(function(key) { exports[key] = rxjs.operators[key]; });
17 Object.defineProperty(exports, '__esModule', {value: true});
18});
19
20// rxjs/testing
21(function(factory) {
22 if (typeof module === 'object' && typeof module.exports === 'object') {
23 var v = factory(require, exports);
24 if (v !== undefined) module.exports = v;
25 } else if (typeof define === 'function' && define.amd) {
26 define('rxjs/testing', ['exports', 'rxjs'], factory);
27 }
28})(function(exports, rxjs) {
29 'use strict';
30 Object.keys(rxjs.testing).forEach(function(key) { exports[key] = rxjs.testing[key]; });
31 Object.defineProperty(exports, '__esModule', {value: true});
32});