Grammalecte  Check-in [a7b45f2c3a]

Overview
Comment:[fx] useless HTML comment
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fx | webext2
Files: files | file ages | folders
SHA3-256: a7b45f2c3a70b28cc7ed60723fb2491e577cdcdc8e7249a4ec798e2d9a16b001
User & Date: olr on 2017-09-01 19:16:33
Other Links: branch diff | manifest | tags
Context
2017-09-02
06:22
[fx] useless command check-in: 6566cf74f2 user: olr tags: fx, webext2
2017-09-01
19:16
[fx] useless HTML comment check-in: a7b45f2c3a user: olr tags: fx, webext2
2017-08-31
06:06
[build] helpers: use shutil and os module only check-in: 3834076ae7 user: olr tags: build, webext2
Changes

Modified gc_lang/fr/webext/content_scripts/init.js from [24d04c7299] to [65204e392b].

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
            this.oLxgPanel.insertIntoPage();
        }
    },

    createGCPanel: function () {
        if (this.oGCPanel === null) {
            this.oGCPanel = new GrammalecteGrammarChecker("grammalecte_gc_panel", "Grammalecte", 500, 700);
            //this.oGCPanel.logInnerHTML();
            this.oGCPanel.insertIntoPage();
        }
    }
}


/*







<







74
75
76
77
78
79
80

81
82
83
84
85
86
87
            this.oLxgPanel.insertIntoPage();
        }
    },

    createGCPanel: function () {
        if (this.oGCPanel === null) {
            this.oGCPanel = new GrammalecteGrammarChecker("grammalecte_gc_panel", "Grammalecte", 500, 700);

            this.oGCPanel.insertIntoPage();
        }
    }
}


/*

Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [9f1f1ad499] to [998383bd94].

151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
                if (nStart >= nEndLastErr) {
                    oErr['sErrorId'] = iParaNum + "-" + nErr.toString(); // error identifier
                    oErr['sIgnoredKey'] = iParaNum + ":" + nStart.toString() + ":" + sParagraph.slice(nStart, nEnd);
                    if (nEndLastErr < nStart) {
                        xParagraph.appendChild(document.createTextNode(sParagraph.slice(nEndLastErr, nStart)));
                    }
                    xParagraph.appendChild(this._createError(sParagraph.slice(nStart, nEnd), oErr));
                    xParagraph.insertAdjacentHTML("beforeend", "<!-- err_end -->");
                    nEndLastErr = nEnd;
                }
                nErr += 1;
            }
            if (nEndLastErr <= sParagraph.length) {
                xParagraph.appendChild(document.createTextNode(sParagraph.slice(nEndLastErr)));
            }







<







151
152
153
154
155
156
157

158
159
160
161
162
163
164
                if (nStart >= nEndLastErr) {
                    oErr['sErrorId'] = iParaNum + "-" + nErr.toString(); // error identifier
                    oErr['sIgnoredKey'] = iParaNum + ":" + nStart.toString() + ":" + sParagraph.slice(nStart, nEnd);
                    if (nEndLastErr < nStart) {
                        xParagraph.appendChild(document.createTextNode(sParagraph.slice(nEndLastErr, nStart)));
                    }
                    xParagraph.appendChild(this._createError(sParagraph.slice(nStart, nEnd), oErr));

                    nEndLastErr = nEnd;
                }
                nErr += 1;
            }
            if (nEndLastErr <= sParagraph.length) {
                xParagraph.appendChild(document.createTextNode(sParagraph.slice(nEndLastErr)));
            }