• Robert Knight's avatar
    Add shared module for config fragment generation and parsing · d017358b
    Robert Knight authored
    The logic for generating the `#config=<URI-encoded JSON blob>` fragment,
    that is used to pass configuration from the annotator to the sidebar
    application, was duplicated in several places in the code.
    
    Add a shared module in `shared/config-fragment.js` with functions for
    adding configuration to and extracting it from the URL.
    d017358b
sidebar.js 15 KB