moved documents to pre subfolder
moved documents to pre subfolder
Unified the single Selected protocol function.
Added comments. Removed :on-dbl-click event, it should be detected based on the :on-click and the event's details.
Changed background to black for more contrast.
Changed the register(\!) function to side-effecting since the commands need the app reference and not its value.
Fixed bug in the bind function when the document is new. Removed unused, old functions.
Some functions to experiment with generating a map from a given object by calling its getters.
Renamed from event->map to to-map. Implemented Event protocol for DocumentEvent.
Commands added to the menu are used in the context of the ui/event-handler which actually uses swap! to update the app's state, after each execution.