• Robert Knight's avatar
    Fail loudly if VitalSource page info fields are missing · 0265b75f
    Robert Knight authored
    If for any reason VitalSource's `<mosaic-book>` API does not return the page
    info fields that the Hypothesis client is expecting, fail loudly so we find out
    about the issue, rather than silently creating annotations with
    missing/incorrect chapter location information.
    
    I don't currently know of any situation where this is expected to happen, so
    this is protection against future changes or differences in behaviors with
    certain books that we have not observed yet.
    0265b75f
Name
Last commit
Last update
..
html-metadata-test.js Loading commit data...
html-side-by-side-test.js Loading commit data...
html-test.js Loading commit data...
image-text-layer-test.js Loading commit data...
index-test.js Loading commit data...
pdf-metadata-test.js Loading commit data...
pdf-test.js Loading commit data...
vitalsource-test.js Loading commit data...