Differences From Artifact [fd0872dfca]:
- File gc_lang/fr/modules-js/lexicographe.js — part of check-in [b89dc82bc4] at 2017-08-08 19:11:22 on branch webext2_fix — [core] add inline config for JSHint assuming es6 synthax and some global (user: IllusionPerdu, size: 10697) [annotate] [blame] [check-ins using] [more...]
To Artifact [08da929c5c]:
- File gc_lang/fr/modules-js/lexicographe.js — part of check-in [35c48d42a8] at 2017-10-24 11:00:11 on branch trunk — [core] tokenization: folders (user: olr, size: 10869) [annotate] [blame] [check-ins using]
| ︙ | |||
218 219 220 221 222 223 224 225 226 227 228 229 230 231 | 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | + + + |
case 'LINK':
return { sType: oToken.sType, sValue: oToken.sValue.slice(0,40)+"…", aLabel: ["hyperlien"] };
break;
case 'ELPFX':
let sTemp = oToken.sValue.replace("’", "").replace("'", "").replace("`", "").toLowerCase();
return { sType: oToken.sType, sValue: oToken.sValue, aLabel: [_dPFX.gl_get(sTemp, "préfixe élidé inconnu")] };
break;
case 'FOLDER':
return { sType: oToken.sType, sValue: oToken.sValue.slice(0,40)+"…", aLabel: ["dossier"] };
break;
case 'WORD':
if (oToken.sValue.gl_count("-") > 4) {
return { sType: "COMPLEX", sValue: oToken.sValue, aLabel: ["élément complexe indéterminé"] };
}
else if (this.oDict.isValidToken(oToken.sValue)) {
let lMorph = this.oDict.getMorph(oToken.sValue);
let aElem = [];
|
| ︙ |