question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Existing Typescript Playgrounds Redirected to Javascript or Default

See original GitHub issue

Existing 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:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
deltakoshcommented, Aug 22, 2019

@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

1reaction
BabylonJSGuidecommented, Aug 22, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found