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/[email protected]/throttle.js';
- // https://unpkg.com/[email protected]/Rx.js
- // @deno-types="https://unpkg.com/[email protected]/index.d.ts"
- // import rxjs from 'https://unpkg.com/[email protected]/_esm5/index.js';
- // import rxjs from 'https://unpkg.io/[email protected]/_esm5/index.js';
- // import rxjs from 'https://unpkg.com/[email protected]/bundles/rxjs.umd.js';
- // import rxjs from 'https://unpkg.com/[email protected]/_esm2015/index.js';
- // import rxjs from 'https://unpkg.io/[email protected]/_esm2015/index.js';
- // import rxjs from 'https://unpkg.io/@reactivex/[email protected]/dist/esm2015/index.js';
- // import rxjs from 'https://dev.jspm.io/npm:[email protected]/';
- // import { rxjs } from 'https://dev.jspm.io/npm:[email protected]/index.dew.js';
- // import { fromEvent } from 'https://dev.jspm.io/npm:[email protected]/index.dew.js';
- // import rxjs from 'https://unpkg.io/@reactivex/[email protected]/dist/esm2015/index.js'
- // import rxjs from 'https://dev.jspm.io/npm:[email protected]/dist/esm2015/index.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/[email protected]/dist/esm2015/index.js
- Download https://unpkg.io/@reactivex/[email protected]/dist/esm2015/internal/scheduled/scheduled
- Download https://unpkg.io/@reactivex/[email protected]/dist/esm2015/internal/observable/from
- /// ... after 20 imports later:
- error: Import 'https://unpkg.io/@reactivex/[email protected]/dist/esm2015/internal/Subject' failed: 500 Internal Server Error
- at https://unpkg.io/@reactivex/[email protected]/dist/esm2015/index.js:5:0
- //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement