Created
November 24, 2020 06:56
-
-
Save tanepiper/0268800854b51832e3c1c0c6c3aef62c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>UMD RxJS Ninja</title> | |
</head> | |
<body></body> | |
<script src="https://unpkg.com/rxjs/bundles/rxjs.umd.min.js"></script> | |
<script> | |
window.operators = rxjs.operators; | |
</script> | |
<script src="https://unpkg.com/@rxjs-ninja/[email protected]/rxjs-random.umd.js"></script> | |
<script module> | |
const { tap } = rxjs.operators; | |
const { fromRandom } = RxjsRandom; | |
fromRandom(0, 1, 1000).pipe(tap(console.log)).subscribe() | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment