Overview
| Comment: | [fx] gc panel: add bundled conjugation tool |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fx |
| Files: | files | file ages | folders |
| SHA3-256: |
ee9dfb8d9117037ab96574ea2c3e4f10 |
| User & Date: | olr on 2019-05-07 15:43:00 |
| Other Links: | manifest | tags |
Context
|
2019-05-07
| ||
| 16:01 | [fx] gc panel: update ui, better signs check-in: db3f9c82ad user: olr tags: trunk, fx | |
| 15:43 | [fx] gc panel: add bundled conjugation tool check-in: ee9dfb8d91 user: olr tags: trunk, fx | |
| 11:54 | [fr] ajustements check-in: d1b5d597da user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/webext/background.js from [b3e4a88116] to [dc80f683a6].
| ︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | + |
storeGCOptions(result);
break;
case "parse":
case "parseAndSpellcheck":
case "parseAndSpellcheck1":
case "getListOfTokens":
case "getSpellSuggestions":
case "getVerb":
// send result to content script
if (typeof(dInfo.iReturnPort) === "number") {
let xPort = dConnx.get(dInfo.iReturnPort);
xPort.postMessage(e.data);
} else {
console.log("[background] don’t know where to send results");
console.log(e.data);
|
| ︙ | |||
245 246 247 248 249 250 251 252 253 254 255 256 257 258 | 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 | + |
let {sCommand, dParam, dInfo} = oRequest;
switch (sCommand) {
case "parse":
case "parseAndSpellcheck":
case "parseAndSpellcheck1":
case "getListOfTokens":
case "getSpellSuggestions":
case "getVerb":
oRequest.dInfo.iReturnPort = iPortId; // we pass the id of the return port to receive answer
xGCEWorker.postMessage(oRequest);
break;
case "openURL":
browser.tabs.create({url: dParam.sURL});
break;
case "openConjugueurTab":
|
| ︙ |
Added gc_lang/fr/webext/content_scripts/html_src.js version [40496dba9d].