mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-08-07 12:58:35 +00:00
update
This commit is contained in:
6
node_modules/rxjs/symbol/iterator.d.ts
generated
vendored
Normal file
6
node_modules/rxjs/symbol/iterator.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export declare function symbolIteratorPonyfill(root: any): any;
|
||||
export declare const iterator: any;
|
||||
/**
|
||||
* @deprecated use iterator instead
|
||||
*/
|
||||
export declare const $$iterator: any;
|
38
node_modules/rxjs/symbol/iterator.js
generated
vendored
Normal file
38
node_modules/rxjs/symbol/iterator.js
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
var root_1 = require('../util/root');
|
||||
function symbolIteratorPonyfill(root) {
|
||||
var Symbol = root.Symbol;
|
||||
if (typeof Symbol === 'function') {
|
||||
if (!Symbol.iterator) {
|
||||
Symbol.iterator = Symbol('iterator polyfill');
|
||||
}
|
||||
return Symbol.iterator;
|
||||
}
|
||||
else {
|
||||
// [for Mozilla Gecko 27-35:](https://mzl.la/2ewE1zC)
|
||||
var Set_1 = root.Set;
|
||||
if (Set_1 && typeof new Set_1()['@@iterator'] === 'function') {
|
||||
return '@@iterator';
|
||||
}
|
||||
var Map_1 = root.Map;
|
||||
// required for compatability with es6-shim
|
||||
if (Map_1) {
|
||||
var keys = Object.getOwnPropertyNames(Map_1.prototype);
|
||||
for (var i = 0; i < keys.length; ++i) {
|
||||
var key = keys[i];
|
||||
// according to spec, Map.prototype[@@iterator] and Map.orototype.entries must be equal.
|
||||
if (key !== 'entries' && key !== 'size' && Map_1.prototype[key] === Map_1.prototype['entries']) {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
}
|
||||
return '@@iterator';
|
||||
}
|
||||
}
|
||||
exports.symbolIteratorPonyfill = symbolIteratorPonyfill;
|
||||
exports.iterator = symbolIteratorPonyfill(root_1.root);
|
||||
/**
|
||||
* @deprecated use iterator instead
|
||||
*/
|
||||
exports.$$iterator = exports.iterator;
|
||||
//# sourceMappingURL=iterator.js.map
|
1
node_modules/rxjs/symbol/iterator.js.map
generated
vendored
Normal file
1
node_modules/rxjs/symbol/iterator.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"iterator.js","sourceRoot":"","sources":["../../src/symbol/iterator.ts"],"names":[],"mappings":";AAAA,qBAAqB,cAAc,CAAC,CAAA;AAEpC,gCAAuC,IAAS;IAC9C,IAAM,MAAM,GAAQ,IAAI,CAAC,MAAM,CAAC;IAEhC,EAAE,CAAC,CAAC,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;QACjC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;YACrB,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;QAChD,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;IACzB,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,qDAAqD;QAC7C,oBAAG,CAAU;QACrB,EAAE,CAAC,CAAC,KAAG,IAAI,OAAO,IAAI,KAAG,EAAE,CAAC,YAAY,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;YACzD,MAAM,CAAC,YAAY,CAAC;QACtB,CAAC;QACO,oBAAG,CAAU;QACrB,2CAA2C;QAC3C,EAAE,CAAC,CAAC,KAAG,CAAC,CAAC,CAAC;YACR,IAAI,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,KAAG,CAAC,SAAS,CAAC,CAAC;YACrD,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;gBACrC,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;gBAClB,wFAAwF;gBACxF,EAAE,CAAC,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,MAAM,IAAI,KAAG,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,KAAG,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;oBAC3F,MAAM,CAAC,GAAG,CAAC;gBACb,CAAC;YACH,CAAC;QACH,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AA5Be,8BAAsB,yBA4BrC,CAAA;AAEY,gBAAQ,GAAG,sBAAsB,CAAC,WAAI,CAAC,CAAC;AAErD;;GAEG;AACU,kBAAU,GAAG,gBAAQ,CAAC","sourcesContent":["import { root } from '../util/root';\n\nexport function symbolIteratorPonyfill(root: any) {\n const Symbol: any = root.Symbol;\n\n if (typeof Symbol === 'function') {\n if (!Symbol.iterator) {\n Symbol.iterator = Symbol('iterator polyfill');\n }\n return Symbol.iterator;\n } else {\n // [for Mozilla Gecko 27-35:](https://mzl.la/2ewE1zC)\n const { Set } = root;\n if (Set && typeof new Set()['@@iterator'] === 'function') {\n return '@@iterator';\n }\n const { Map } = root;\n // required for compatability with es6-shim\n if (Map) {\n let keys = Object.getOwnPropertyNames(Map.prototype);\n for (let i = 0; i < keys.length; ++i) {\n let key = keys[i];\n // according to spec, Map.prototype[@@iterator] and Map.orototype.entries must be equal.\n if (key !== 'entries' && key !== 'size' && Map.prototype[key] === Map.prototype['entries']) {\n return key;\n }\n }\n }\n return '@@iterator';\n }\n}\n\nexport const iterator = symbolIteratorPonyfill(root);\n\n/**\n * @deprecated use iterator instead\n */\nexport const $$iterator = iterator;\n"]}
|
6
node_modules/rxjs/symbol/observable.d.ts
generated
vendored
Normal file
6
node_modules/rxjs/symbol/observable.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export declare function getSymbolObservable(context: any): any;
|
||||
export declare const observable: any;
|
||||
/**
|
||||
* @deprecated use observable instead
|
||||
*/
|
||||
export declare const $$observable: any;
|
26
node_modules/rxjs/symbol/observable.js
generated
vendored
Normal file
26
node_modules/rxjs/symbol/observable.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
var root_1 = require('../util/root');
|
||||
function getSymbolObservable(context) {
|
||||
var $$observable;
|
||||
var Symbol = context.Symbol;
|
||||
if (typeof Symbol === 'function') {
|
||||
if (Symbol.observable) {
|
||||
$$observable = Symbol.observable;
|
||||
}
|
||||
else {
|
||||
$$observable = Symbol('observable');
|
||||
Symbol.observable = $$observable;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$$observable = '@@observable';
|
||||
}
|
||||
return $$observable;
|
||||
}
|
||||
exports.getSymbolObservable = getSymbolObservable;
|
||||
exports.observable = getSymbolObservable(root_1.root);
|
||||
/**
|
||||
* @deprecated use observable instead
|
||||
*/
|
||||
exports.$$observable = exports.observable;
|
||||
//# sourceMappingURL=observable.js.map
|
1
node_modules/rxjs/symbol/observable.js.map
generated
vendored
Normal file
1
node_modules/rxjs/symbol/observable.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"observable.js","sourceRoot":"","sources":["../../src/symbol/observable.ts"],"names":[],"mappings":";AAAA,qBAAqB,cAAc,CAAC,CAAA;AAEpC,6BAAoC,OAAY;IAC9C,IAAI,YAAiB,CAAC;IACtB,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAE5B,EAAE,CAAC,CAAC,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;QACjC,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;YACtB,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC;QACnC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;YACpC,MAAM,CAAC,UAAU,GAAG,YAAY,CAAC;QACrC,CAAC;IACH,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,YAAY,GAAG,cAAc,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,YAAY,CAAC;AACtB,CAAC;AAhBe,2BAAmB,sBAgBlC,CAAA;AAEY,kBAAU,GAAG,mBAAmB,CAAC,WAAI,CAAC,CAAC;AAEpD;;GAEG;AACU,oBAAY,GAAG,kBAAU,CAAC","sourcesContent":["import { root } from '../util/root';\n\nexport function getSymbolObservable(context: any) {\n let $$observable: any;\n let Symbol = context.Symbol;\n\n if (typeof Symbol === 'function') {\n if (Symbol.observable) {\n $$observable = Symbol.observable;\n } else {\n $$observable = Symbol('observable');\n Symbol.observable = $$observable;\n }\n } else {\n $$observable = '@@observable';\n }\n\n return $$observable;\n}\n\nexport const observable = getSymbolObservable(root);\n\n/**\n * @deprecated use observable instead\n */\nexport const $$observable = observable;\n"]}
|
5
node_modules/rxjs/symbol/rxSubscriber.d.ts
generated
vendored
Normal file
5
node_modules/rxjs/symbol/rxSubscriber.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export declare const rxSubscriber: any;
|
||||
/**
|
||||
* @deprecated use rxSubscriber instead
|
||||
*/
|
||||
export declare const $$rxSubscriber: any;
|
10
node_modules/rxjs/symbol/rxSubscriber.js
generated
vendored
Normal file
10
node_modules/rxjs/symbol/rxSubscriber.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
var root_1 = require('../util/root');
|
||||
var Symbol = root_1.root.Symbol;
|
||||
exports.rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ?
|
||||
Symbol.for('rxSubscriber') : '@@rxSubscriber';
|
||||
/**
|
||||
* @deprecated use rxSubscriber instead
|
||||
*/
|
||||
exports.$$rxSubscriber = exports.rxSubscriber;
|
||||
//# sourceMappingURL=rxSubscriber.js.map
|
1
node_modules/rxjs/symbol/rxSubscriber.js.map
generated
vendored
Normal file
1
node_modules/rxjs/symbol/rxSubscriber.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"rxSubscriber.js","sourceRoot":"","sources":["../../src/symbol/rxSubscriber.ts"],"names":[],"mappings":";AAAA,qBAAqB,cAAc,CAAC,CAAA;AAEpC,IAAM,MAAM,GAAQ,WAAI,CAAC,MAAM,CAAC;AAEnB,oBAAY,GAAG,CAAC,OAAO,MAAM,KAAK,UAAU,IAAI,OAAO,MAAM,CAAC,GAAG,KAAK,UAAU,CAAC;IAC5F,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAAC;AAEhD;;GAEG;AACU,sBAAc,GAAG,oBAAY,CAAC","sourcesContent":["import { root } from '../util/root';\n\nconst Symbol: any = root.Symbol;\n\nexport const rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ?\n Symbol.for('rxSubscriber') : '@@rxSubscriber';\n\n/**\n * @deprecated use rxSubscriber instead\n */\nexport const $$rxSubscriber = rxSubscriber;\n"]}
|
Reference in New Issue
Block a user