• Robert Knight's avatar
    Remove fragment anchoring support · f8784b2c
    Robert Knight authored
    dom-anchor-fragment is shipped as a UMD module which causes problems on
    pages that declare a global function called `define` (see #479).
    
    While we could fix the module, fragment anchoring is not very useful at
    the moment. The client primarily anchors to the quote and uses other
    anchors only as an optimization. The Wikipedia baseline tests changed in
    this PR show how little value a fragment has on real websites.
    Therefore, just remove support for generating and using fragment selectors.
    
    This change should not cause anchoring regressions, as anchoring would
    only have succeeded previously if the quote selector matched. Now it will just
    fall through to anchoring using the range, position or quote selectors instead.
    
    Fixes #479
    f8784b2c
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
.travis.yml 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...
package.json Loading commit data...
requirements-dev.in Loading commit data...
tox.ini Loading commit data...
yarn.lock Loading commit data...