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