• Sean Hammond's avatar
    Support onLogin callbacks from partner sites · 0ca108c0
    Sean Hammond authored
    When the client is embedded in a partner site and a login button in the
    client is clicked, call the JavaScript onLogin function that was
    provided to us by the partner via the window.hypothesisConfig function.
    
    When not embedded in a partner site, just prompt for a first-party login
    as normal.
    
    Note that this means that if the client is embedded in a partner site
    with no onLogin callback in window.hypothesisConfig, then nothing will
    happen when the login button in the client is clicked.
    0ca108c0
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
annotation-sync-test.coffee Loading commit data...
config-test.js Loading commit data...
empty.html Loading commit data...
guest-test.coffee Loading commit data...
highlighter-test.coffee Loading commit data...
host-test.coffee Loading commit data...
range-util-test.js Loading commit data...
selections-test.js Loading commit data...
sidebar-test.coffee Loading commit data...
sidebar-trigger-test.js Loading commit data...