Existing Typescript Playgrounds Redirected to Javascript or Default
See original GitHub issueExisting playgrounds that have the form
http://www.babylonjs-playground.com/ts.html#ABCDE#xx
redirect to http://www.babylonjs-playground.com/#ABCDE#xx
which may or may not exist. If they exist they redirect to the Javascript PG and and if not they redirect to the default.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
TS Playground - An online editor for exploring ...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
Read more >Some playgrounds not working after last update? - Bugs
Hi MarianG,. A fix is to declare createScene or delayCreateScene functions as varibles like so: var createScene = function () { … };...
Read more >API Reference: Landing page plugins
The default landing page for non-production environments ... Using GraphQL Playground as a landing page ... TypeScript JavaScript.
Read more >Compiler Options
Option Type Default
‑‑allowJs boolean false
‑‑allowSyntheticDefaultImports boolean module === "system" or ‑‑esModuleInterop
‑‑allowUmdGlobalAccess boolean false
Read more >How to fix property not existing on EventTarget in TypeScript
A common error that occurs when working with the DOM in TypeScript is “property 'property name' not existing on EventTarget ”.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BabylonJSGuide: Yes this ones are a bit tricky as they were done manually. I would recommend to provide different examples.
@noalak will update the playground to make sure people understand that clicking on a different language (like TS->JS) will wipe their code and switch to a different PG
@noalak These are the Typescript PGs that are causing problems
http://www.babylonjs-playground.com/ts.html#6F0LKI http://www.babylonjs-playground.com/ts.html#6F0LKI#1 http://www.babylonjs-playground.com/ts.html#6F0LKI#2
because these Javascript PGs already existed
http://www.babylonjs-playground.com/#6F0LKI http://www.babylonjs-playground.com/#6F0LKI#1 http://www.babylonjs-playground.com/#6F0LKI#2
As I said these are the possibly the only ones because at the time I constructed the docs page since ts.html was a separate url using the same hash codes made some sort of sense. (I probably just added ts.html to the existing urls and wrote the typescript code, don’t remember exactly what I did) If this is the case than I need to provide different examples. That section of the docs needs a re-write now anyway.