Grammalecte  Diff

Differences From Artifact [f433ad18fb]:

To Artifact [88e5c8321b]:


658
659
660
661
662
663
664

665

666
667
668
669
670
671
672
658
659
660
661
662
663
664
665

666
667
668
669
670
671
672
673







+
-
+







        }
        return xTokenBlock;
    }

    _createTokenDescr (oToken) {
        try {
            let xTokenDescr = oGrammalecte.createNode("div", {className: "grammalecte_lxg_token_descr"});
            let sValue = (oToken.hasOwnProperty("sRealValue")) ? oToken["sRealValue"] : oToken["sValue"];
            xTokenDescr.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_token grammalecte_lxg_token_" + oToken.sType, textContent: oToken.sValue}));
            xTokenDescr.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_token grammalecte_lxg_token_" + oToken.sType, textContent: sValue}));
            let xMorphList = oGrammalecte.createNode("div", {className: "grammalecte_lxg_morph_list"});
            xTokenDescr.appendChild(xMorphList);
            if (oToken.aLabels) {
                for (let sLabel of oToken.aLabels) {
                    xMorphList.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_morph_elem", textContent: "• " + sLabel.trim()}));
                }
            } else {