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

Use the Github API to populate the dropdown in demo.html #8

Merged
merged 1 commit into from
Sep 19, 2012

Conversation

BaylorRae
Copy link
Contributor

Using an HTML file will allow anyone to view the demo page, with or without a PHP server running. But, as mentioned in this comment, it is a static file. However, if you take advantage of Ajax and the Github API, it can be dynamic.

In this commit I replace the static select box with a bit of javascript that will download a list of all the files in the repo and add them to the select box dynamically.

atlemo pushed a commit that referenced this pull request Sep 19, 2012
Use the Github API to populate the dropdown in demo.html
@atlemo atlemo merged commit c96653d into atlemo:master Sep 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants