• Sean Hammond's avatar
    Don't call Function.bind in src/annotator · 0f148805
    Sean Hammond authored
    Don't call the parent browsing environment's Function.bind() function
    from the src/annotator code.
    
    Some parent pages modify Function.protoype.bind(), for example replacing
    it with their own broken bind() polyfill, and this causes our code to
    crash.
    
    Work around this by just not using bind().
    
    Fixes #245
    0f148805
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...
requirements-dev.in Loading commit data...