main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
465 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports.default = void 0;
|
---|
5 | var _minim = require("minim");
|
---|
6 | class Annotation extends _minim.StringElement {
|
---|
7 | // classes: warning | error
|
---|
8 |
|
---|
9 | constructor(content, meta, attributes) {
|
---|
10 | super(content, meta, attributes);
|
---|
11 | this.element = 'annotation';
|
---|
12 | }
|
---|
13 | get code() {
|
---|
14 | return this.attributes.get('code');
|
---|
15 | }
|
---|
16 | set code(value) {
|
---|
17 | this.attributes.set('code', value);
|
---|
18 | }
|
---|
19 | }
|
---|
20 | var _default = exports.default = Annotation; |
---|
Note:
See
TracBrowser
for help on using the repository browser.