1 line
No EOL
2.3 KiB
JSON
1 line
No EOL
2.3 KiB
JSON
{"ast":null,"code":"import { Subscriber } from '../Subscriber';\nexport function skip(count) {\n return source => source.lift(new SkipOperator(count));\n}\nclass SkipOperator {\n constructor(total) {\n this.total = total;\n }\n call(subscriber, source) {\n return source.subscribe(new SkipSubscriber(subscriber, this.total));\n }\n}\nclass SkipSubscriber extends Subscriber {\n constructor(destination, total) {\n super(destination);\n this.total = total;\n this.count = 0;\n }\n _next(x) {\n if (++this.count > this.total) {\n this.destination.next(x);\n }\n }\n}","map":{"version":3,"names":["Subscriber","skip","count","source","lift","SkipOperator","constructor","total","call","subscriber","subscribe","SkipSubscriber","destination","_next","x","next"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/operators/skip.js"],"sourcesContent":["import { Subscriber } from '../Subscriber';\nexport function skip(count) {\n return (source) => source.lift(new SkipOperator(count));\n}\nclass SkipOperator {\n constructor(total) {\n this.total = total;\n }\n call(subscriber, source) {\n return source.subscribe(new SkipSubscriber(subscriber, this.total));\n }\n}\nclass SkipSubscriber extends Subscriber {\n constructor(destination, total) {\n super(destination);\n this.total = total;\n this.count = 0;\n }\n _next(x) {\n if (++this.count > this.total) {\n this.destination.next(x);\n }\n }\n}\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAC1C,OAAO,SAASC,IAAIA,CAACC,KAAK,EAAE;EACxB,OAAQC,MAAM,IAAKA,MAAM,CAACC,IAAI,CAAC,IAAIC,YAAY,CAACH,KAAK,CAAC,CAAC;AAC3D;AACA,MAAMG,YAAY,CAAC;EACfC,WAAWA,CAACC,KAAK,EAAE;IACf,IAAI,CAACA,KAAK,GAAGA,KAAK;EACtB;EACAC,IAAIA,CAACC,UAAU,EAAEN,MAAM,EAAE;IACrB,OAAOA,MAAM,CAACO,SAAS,CAAC,IAAIC,cAAc,CAACF,UAAU,EAAE,IAAI,CAACF,KAAK,CAAC,CAAC;EACvE;AACJ;AACA,MAAMI,cAAc,SAASX,UAAU,CAAC;EACpCM,WAAWA,CAACM,WAAW,EAAEL,KAAK,EAAE;IAC5B,KAAK,CAACK,WAAW,CAAC;IAClB,IAAI,CAACL,KAAK,GAAGA,KAAK;IAClB,IAAI,CAACL,KAAK,GAAG,CAAC;EAClB;EACAW,KAAKA,CAACC,CAAC,EAAE;IACL,IAAI,EAAE,IAAI,CAACZ,KAAK,GAAG,IAAI,CAACK,KAAK,EAAE;MAC3B,IAAI,CAACK,WAAW,CAACG,IAAI,CAACD,CAAC,CAAC;IAC5B;EACJ;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |