ingenta-lens
Version:
A novel way of seeing content.
29 lines (21 loc) • 834 B
JavaScript
var Document = require('../../../substance/document');
var Annotation = require('../annotation/annotation');
var ResourceReference = require('../resource_reference/resource_reference');
var FootnoteReference = function(node, doc) {
ResourceReference.call(this, node, doc);
};
FootnoteReference.type = {
id: "footnote_reference",
parent: "resource_reference",
properties: {
"target": "footnote"
}
};
FootnoteReference.Prototype = function() {};
FootnoteReference.Prototype.prototype = ResourceReference.prototype;
FootnoteReference.prototype = new FootnoteReference.Prototype();
FootnoteReference.prototype.constructor = FootnoteReference;
// Do not fragment this annotation
FootnoteReference.fragmentation = Annotation.NEVER;
Document.Node.defineProperties(FootnoteReference);
module.exports = FootnoteReference;