diff --git a/babel.config.js b/babel.config.js index 982d91dfd242e84dc6d63343bb19126b68f525e8..a03ed912e74a49f38d9d4c08efb6c2185793d40c 100644 --- a/babel.config.js +++ b/babel.config.js @@ -47,7 +47,6 @@ module.exports = function (api) { const plugins = [ 'babel-plugin-macros', '@babel/plugin-transform-destructuring', - // TODO loose: which options is ignored in depencies ? ['@babel/plugin-proposal-private-methods', { loose: true }], ['@babel/plugin-proposal-private-property-in-object', { loose: true }], ['@babel/plugin-proposal-class-properties', { loose: true }], diff --git a/src/lib/AnnotationItem.js b/src/lib/AnnotationItem.js index 0d5fcae8df046ee4ce360277a9d8e6356709b3c6..d927ec07189fd880381d806ec074370cad70a6fe 100644 --- a/src/lib/AnnotationItem.js +++ b/src/lib/AnnotationItem.js @@ -138,7 +138,6 @@ export default class AnnotationItem { break; case 'object': temporalfragmentSelector = selector.find(s => s.type && s.type === 'FragmentSelector'); - // TODO regex for t=5,10 t=,10 t=5 ? cf w3c media fragments match = temporalfragmentSelector && temporalfragmentSelector.value.match(/t=(.*?)(&|$)/); break; default: