• 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
.github Loading commit data...
docs Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...