Grammalecte  Check-in [6f5fe30fdc]

Overview
Comment:[tb] rename variable to avoid collision with another extension
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tb
Files: files | file ages | folders
SHA3-256: 6f5fe30fdc4c7f4c093f2cdb7025c198f7b438ec2ba894334b1640ae1196c3e3
User & Date: olr on 2020-03-31 20:41:12
Other Links: manifest | tags
Context
2020-03-31
22:09
[fx] another kind of underlining for spelling errors beginning with a capital letter check-in: 756efcc826 user: olr tags: fx, trunk
20:41
[tb] rename variable to avoid collision with another extension check-in: 6f5fe30fdc user: olr tags: tb, trunk
20:29
[tb] rename variable to avoid collision with another extension check-in: 9328b22957 user: olr tags: tb, trunk
Changes

Modified gc_lang/fr/mailext/content/editor.js from [80f443c01c] to [b8e86b0b84].

    21     21           // recursive function
    22     22           try {
    23     23               for (let xNode of xRootNode.childNodes) {
    24     24                   if (xNode.className !== "moz-cite-prefix" && xNode.tagName !== "BLOCKQUOTE"
    25     25                       && (xNode.nodeType == Node.TEXT_NODE || (xNode.nodeType == Node.ELEMENT_NODE && !xNode.textContent.startsWith(">")))
    26     26                       && xNode.textContent !== "") {
    27     27                       if (xNode.tagName === undefined) {
    28         -                        if (!prefs.getBoolPref("bCheckSignature") && xNode.textContent.startsWith("-- ")) {
           28  +                        if (!xGrammalectePrefs.getBoolPref("bCheckSignature") && xNode.textContent.startsWith("-- ")) {
    29     29                               break;
    30     30                           }
    31     31                           yield xNode;
    32     32                       } else if (this.lParsableNodes.includes(xNode.tagName)) {
    33     33                           yield xNode;
    34     34                       } else if (this.lRootNodes.includes(xNode.tagName)) {
    35     35                           yield* this._getParsableNodes(xNode);