made the main app a view
hooked up basic canvas view
hooked up canvas view, canvas data is actually passed on
fixed two bugs: 1. corrected constraint type lookup; 2. all text annotations are parsed and split across overlaps (only a few were going through before)
added general view id and a wrapper for all viewer "areas"
moved manifest url to general view element (one manifest per app)
moved main app code to a main view
hooked up data gathering with backbone sync. Before we had two global methods to load manifest- and canvas-level data. Now the importing is managed by collections and models through custom syncing.
the router now triggers an event on the main collection (manifests) to request a specific canvas. This will trigger the canvas data to be loaded if it hasnt been loaded yet, and the canvas view will be created or re-attached to the DOM if already in place.
created views for manifest, canvases and "viewer areas". This is a new concept that replaces Presentation.Canvas in MITHgrid. It allows to manage an arbitrary number of view on the canvas model and showing specific types of annotations depending on datatypes specified by the user in the HTML, e.g. Image, Text, and All.