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

Make it work without JS #21

Closed
akavel opened this issue Jul 19, 2012 · 2 comments
Closed

Make it work without JS #21

akavel opened this issue Jul 19, 2012 · 2 comments
Labels

Comments

@akavel
Copy link

akavel commented Jul 19, 2012

It would be nice if viewing the contents (which is fairly static) wouldn't require me to have JavaScript enabled (and available at all) in the browser. This way I could also wget/curl such a page, etc.

@doda-zz
Copy link

doda-zz commented Jul 19, 2012

all the JS does is call into http://gist.io/3135754/content, you can interface with that on your own if you like

@idan
Copy link
Owner

idan commented Jul 19, 2012

Yup. The only difference between what you have on /…gist-id…/content and what you get out the github API is that I've gone through and rendered/sanitized markdown for each file, and saved the rendered output in each file's 'rendered' key (check out the JSON)

For now, the reason that it uses JS is because I don't want to hold up the pageload while the server hits the github API. It's pointless though in the case where the rendered gist is already in the cache, see #23.

@idan idan closed this as completed Jul 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants