try-haxe icon indicating copy to clipboard operation
try-haxe copied to clipboard

Support GitHub Gist

Open haysclark opened this issue 11 years ago • 2 comments

It would we awesome if you could create a TryHaxe example that uses a GitHub Gist for it's Source code. That was the author could update examples with some level of version control and dev could also clone the example.

Naturally this might require multiple file support in TryHaxe.

haysclark avatar Dec 09 '14 17:12 haysclark

Yeah, gists support would be great :) and you're right, it would certainly require multiple file support to work properly. Please notice you can already use the following route to load a source from the web : http://try.haxe.org/load?url=http://website.com/source.hx[&main=MyMainClass] Unfortunately, my server or Haxe/PHP's HTTPS implementation seems to have problems with github domains, so you can't load sources from github "user content" right now. There's currently no real plan for either multiple file support and/or git / gists right now (there's no plan whatsoever, actually), but I'm always happy to merge good pull requests :D

clemos avatar Dec 09 '14 22:12 clemos

Thanks for an update. I will try to find some free time to dig into the code.

haysclark avatar Dec 10 '14 06:12 haysclark