Grammalecte  Check-in [6342f17067]

Overview
Comment:[fr][js] delete console.log() for debugging
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 6342f1706730387384bb41cfa6d2bc89efd1cbbe9a8f2b2e082ac7c3f6c8f936
User & Date: olr on 2017-10-15 19:05:11
Other Links: manifest | tags
Context
2017-10-18
11:11
[fx] merge webext3: better interface check-in: a176d99c0b user: olr tags: trunk, fx
2017-10-15
19:05
[fr][js] delete console.log() for debugging check-in: 6342f17067 user: olr tags: trunk, fr
12:19
[fr] gestion de l’écriture dite “inclusive” (brainfuck) check-in: d46b63623e user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/modules-js/gce_suggestions.js from [de987074ad] to [d955978cbc].

602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
    ['.', '_'],  ['·', '_'],
    ['–', '_'],  ['—', '_'],
    ['/', '_']
]);

function normalizeInclusiveWriting (sToken) {
    let sRes = "";
    console.log("==== " + sToken);
    for (let c of sToken) {
        if (_dNormalizedCharsForInclusiveWriting.has(c)) {
            sRes += _dNormalizedCharsForInclusiveWriting.get(c);
        } else {
            sRes += c;
        }
    }
    console.log(">>>> " + sRes);
    return sRes;
}







<







<


602
603
604
605
606
607
608

609
610
611
612
613
614
615

616
617
    ['.', '_'],  ['·', '_'],
    ['–', '_'],  ['—', '_'],
    ['/', '_']
]);

function normalizeInclusiveWriting (sToken) {
    let sRes = "";

    for (let c of sToken) {
        if (_dNormalizedCharsForInclusiveWriting.has(c)) {
            sRes += _dNormalizedCharsForInclusiveWriting.get(c);
        } else {
            sRes += c;
        }
    }

    return sRes;
}