• 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
annotation-sync.js 4.85 KB