subtlepatterns/SubtlePatterns — pull request #8 by BaylorRae (2012-09-19 18:06:30+00:00)
Title: Use the Github API to populate the dropdown in demo.html

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](https://github.com/subtlepatterns/SubtlePatterns/pull/5#issuecomment-8687193), 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.