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

Ably's JSBin fork needs updating to support more modern Javascript #756

Closed
mattheworiordan opened this issue Nov 2, 2019 · 6 comments
Closed
Labels
bug A broken link, image etc content-request A request for new content, as opposed to changing/fixing existing content

Comments

@mattheworiordan
Copy link
Member

mattheworiordan commented Nov 2, 2019

See related issue https://github.com/ably/jsbin/issues/2.

Not directly related, but we could in future consider adding server-side code block support too with Repl.it - #690.

┆Issue is synchronized with this Jira Bug by Unito

@mattheworiordan mattheworiordan added bug A broken link, image etc content-request A request for new content, as opposed to changing/fixing existing content labels Nov 2, 2019
@kennethkalmer
Copy link
Member

@mattheworiordan, @fliptopbox also mentioned codepen.io as something to have a look at and they have an API as well - https://blog.codepen.io/documentation/prefill/

@fliptopbox
Copy link
Contributor

I recommend we move to codepen for a number of reasons, I'll write them down.

@ably-sync-bot ably-sync-bot changed the title Ably's JSBin fork needs updating to support more modern Javascript Ably's JSBin fork needs updating to support more modern Javascript Sep 3, 2020
@mattheworiordan
Copy link
Member Author

I recommend we move to codepen for a number of reasons, I'll write them down.

You've not written them down :). Can you?

Interestingly I see Google us JSFiddle, which is quite neat, see https://developers.google.com/maps/documentation/javascript/adding-a-google-map and specifically https://docs.jsfiddle.net/api/display-a-fiddle-from-post, where a POST creates the fiddle live.

This IMHO is elegant because @kennethkalmer we would no longer need to publish JSBins / Codepens / anything else at build time, and instead generate the code on demand at runtime. Far slicker, and it works for Google 👍

@mattheworiordan
Copy link
Member Author

I see https://blog.codepen.io/documentation/prefill/ has a similar POST option.

@fliptopbox do we know if Codepen is the most popular? Can we research which is the most popular before we dive in?

@fliptopbox
Copy link
Contributor

Yup, there is a discovery document on its way, that looks at Codepen from various angles.
We should have a working draft on Wednesday late afternoon, I will be sure to ping your for feedback.

@ably-sync-bot
Copy link

➤ Tony Bedford commented:

Matthew O'Riordan already fixed this one I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A broken link, image etc content-request A request for new content, as opposed to changing/fixing existing content
Development

No branches or pull requests

4 participants