• 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
..
anchoring Loading commit data...
plugin Loading commit data...
test Loading commit data...
util Loading commit data...
vendor Loading commit data...
adder.html Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
annotation-sync.js Loading commit data...
config.js Loading commit data...
guest.coffee Loading commit data...
highlighter.coffee Loading commit data...
host.coffee Loading commit data...
main.js Loading commit data...
pdf-sidebar.coffee Loading commit data...
pdfjs-rendering-states.js Loading commit data...
range-util.js Loading commit data...
selections.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.coffee Loading commit data...