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: trunk, fx
20:41
[tb] rename variable to avoid collision with another extension check-in: 6f5fe30fdc user: olr tags: trunk, tb
20:29
[tb] rename variable to avoid collision with another extension check-in: 9328b22957 user: olr tags: trunk, tb
Changes

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

21
22
23
24
25
26
27
28

29
30
31
32
33
34
35
21
22
23
24
25
26
27

28
29
30
31
32
33
34
35







-
+







        // recursive function
        try {
            for (let xNode of xRootNode.childNodes) {
                if (xNode.className !== "moz-cite-prefix" && xNode.tagName !== "BLOCKQUOTE"
                    && (xNode.nodeType == Node.TEXT_NODE || (xNode.nodeType == Node.ELEMENT_NODE && !xNode.textContent.startsWith(">")))
                    && xNode.textContent !== "") {
                    if (xNode.tagName === undefined) {
                        if (!prefs.getBoolPref("bCheckSignature") && xNode.textContent.startsWith("-- ")) {
                        if (!xGrammalectePrefs.getBoolPref("bCheckSignature") && xNode.textContent.startsWith("-- ")) {
                            break;
                        }
                        yield xNode;
                    } else if (this.lParsableNodes.includes(xNode.tagName)) {
                        yield xNode;
                    } else if (this.lRootNodes.includes(xNode.tagName)) {
                        yield* this._getParsableNodes(xNode);