Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(UI): Add DevTools RxJS Welcome Back #4111

Merged
merged 1 commit into from Sep 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs_app/src/assets/js/devtools-welcome.js
@@ -0,0 +1,17 @@
var welcomeText = (
' ____ _ ____ \n' +
'| _ \\ __ __ | / ___| \n' +
'| |_) |\\ \\/ / | \\___ \\ \n' +
'| _ < > < |_| |___) | \n' +
'|_| \\_\\/_/\\_\\___/|____/ \n' +
'\nOpen http://stackblitz.com and try this code to get\n' +
'\nstarted experimenting with RxJS:\n' +
'\nimport { interval } from "rxjs"\n' +
'\nimport { take } from "rxjs/operators"\n' +
'\nconst subscription = interval(500).pipe(take(4)).subscribe(console.log)\n'
);
if (console.info) {
console.info(welcomeText);
} else {
console.log(welcomeText);
}
3 changes: 2 additions & 1 deletion docs_app/src/index.html
Expand Up @@ -151,5 +151,6 @@ <h2 style="color: red; text-align: center; margin-top: -50px;">
<b><i>This website requires JavaScript.</i></b>
</h2>
</noscript>
<script src="assets/js/devtools-welcome.js"></script>
</body>
</html>
</html>