Parse tree updates. First, the good news:
- Multiple parse trees can show up per page, and their data remains isolated from one another.
- Choosing a POS tag and then correctly placing the node in the tree causes that node to fill in with a brighter version of the corresponding POS color. Pretty!
- Trees build using options embedded in the HTML tags themselves.
- Seperated everything out: templates into a reusable template file, parse-tree-specific CSS into its own file, and a slimmed down requirejs main for demo.
- Made a demo page for several parse trees in different modes.
- Template is included via require JS' text function.
Bad news:
- I broke zoom and pan functionality.
- The legend disappeared. (Oh well, was buggy anyways)
Merge branch 'master' of github.com:OpenPhilology/phaidra