Schroedingers-Hat/jsphys — Issue #117: Load demos from separate files with XHR
Author: capnrefsmmat
Created: 2011-11-04 01:03:06+00:00
State: open

I'd like to split off demos into their own JSON files, along with a demo "manifest" containing a list and meta-data about each demo. This makes it much, much easier to add demos, and opening the way for things like a demo server which can support a demo-creator and serve user-created demos.

This'll necessitate a change in the demo syntax, since we won't be able to call JS functions in the JSON anymore. I'll be able to redo the demo-loading functions at the same time, so things will be more flexible.