Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // const parser = fastXMLParser as typeof FastXMLParser;
- //
- // import { React, ReactDOM, PropTypes } from 'https://unpkg.com/es-react';
- // import throttle from 'https://unpkg.com/lodash@4.17.19/throttle.js';
- // https://unpkg.com/rxjs@6.6.3/Rx.js
- // @deno-types="https://unpkg.com/rxjs@6.6.3/index.d.ts"
- // import rxjs from 'https://unpkg.com/rxjs@6.6.3/_esm5/index.js';
- // import rxjs from 'https://unpkg.io/rxjs@6.6.3/_esm5/index.js';
- // import rxjs from 'https://unpkg.com/rxjs@6.6.3/bundles/rxjs.umd.js';
- // import rxjs from 'https://unpkg.com/rxjs@6.6.3/_esm2015/index.js';
- // import rxjs from 'https://unpkg.io/rxjs@6.6.3/_esm2015/index.js';
- // import rxjs from 'https://unpkg.io/@reactivex/rxjs@6.6.3/dist/esm2015/index.js';
- // import rxjs from 'https://dev.jspm.io/npm:rxjs@6.6.3/';
- // import { rxjs } from 'https://dev.jspm.io/npm:rxjs@6.6.3/index.dew.js';
- // import { fromEvent } from 'https://dev.jspm.io/npm:rxjs@6.5.5/index.dew.js';
- // import rxjs from 'https://unpkg.io/@reactivex/rxjs@6.5.5/dist/esm2015/index.js'
- // import rxjs from 'https://dev.jspm.io/npm:rxjs@6.5.5/dist/esm2015/index.js';
- import rxjs from 'https://dev.jspm.io/npm:rxjs@6.5.5/index.js';
- import { dew } from 'https://dev.jspm.io/npm:rxjs@6.5.5/internal/Observable.dew.js';
- const observable = new dew().Observable((subscriber: any) => {
- subscriber.next(1);
- subscriber.complete();
- });
- console.log('just before subscribe');
- observable.subscribe({
- next(x: any) { console.log('got value ' + x); },
- error(err: any) { console.error('something wrong occurred: ' + err); },
- complete() { console.log('done'); }
- });
- console.log('just after subscribe');
- //*
- ➜ junk deno run ~/Projects/denmo/hello.ts
- Download https://unpkg.io/@reactivex/rxjs@6.5.5/dist/esm2015/index.js
- Download https://unpkg.io/@reactivex/rxjs@6.5.5/dist/esm2015/internal/scheduled/scheduled
- Download https://unpkg.io/@reactivex/rxjs@6.5.5/dist/esm2015/internal/observable/from
- /// ... after 20 imports later:
- error: Import 'https://unpkg.io/@reactivex/rxjs@6.6.3/dist/esm2015/internal/Subject' failed: 500 Internal Server Error
- at https://unpkg.io/@reactivex/rxjs@6.6.3/dist/esm2015/index.js:5:0
- //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement