• Robert Knight's avatar
    Open the sidebar on load in response to annotations fragment · 11eb5fa2
    Robert Knight authored
    If the host page's URL contains a '#annotations:' fragment,
    open the sidebar automatically when the client loads.
    
     * Move code for reading Hypothesis configuration from
       the environment into config.js and add tests
    
     * Read the '#annotations' fragment from the URL and
       pass it to app.html along with any other options
       as query string parameters.
    11eb5fa2
app-controller-test.js 7.14 KB