Commit d3e77e53 authored by Robert Knight's avatar Robert Knight

Clarify DocumentMeta constructor arguments

parent cd7fa89d
...@@ -18,8 +18,8 @@ const { normalizeURI } = require('../util/url'); ...@@ -18,8 +18,8 @@ const { normalizeURI } = require('../util/url');
*/ */
class DocumentMeta extends Plugin { class DocumentMeta extends Plugin {
constructor(...args) { constructor(element, options) {
super(...args); super(element, options);
this.events = { this.events = {
'beforeAnnotationCreated': 'beforeAnnotationCreated', 'beforeAnnotationCreated': 'beforeAnnotationCreated',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment