Source: note_full.js

import NoteShort from './note_short.js';

/**
 * Represents full note, specifically including note's content.
 */
class NoteFull extends NoteShort {
    constructor(froca, row) {
        super(froca, row);

        /** @param {string} */
        this.content = row.content;

        if (this.content !== "" && this.isJson()) {
            try {
                /** @param {object} */
                this.jsonContent = JSON.parse(this.content);
            }
            catch(e) {}
        }
    }
}

export default NoteFull;