Differences From Artifact [4a92e9c4a9]:
- File gc_lang/fr/webext/content_scripts/init.js — part of check-in [05b48840da] at 2020-07-05 09:35:32 on branch mailext — [tb][fx] update for MailExtension (user: olr, size: 23408) [annotate] [blame] [check-ins using]
To Artifact [b5e2ece3a6]:
- File gc_lang/fr/webext/content_scripts/init.js — part of check-in [bc93713e8f] at 2020-07-06 18:45:43 on branch mailext — [tb][fx] update for MailExtension (user: olr, size: 23481) [annotate] [blame] [check-ins using]
| ︙ | |||
381 382 383 384 385 386 387 388 389 390 391 392 393 394 | 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 | + |
this.bConnected = false;
this.restart();
}.bind(this));
this.xConnect.onMessage.addListener(function (oMessage) {
let { sActionDone, result, oInfo, bEnd, bError } = oMessage;
switch (sActionDone) {
case "init":
//console.log("[Grammalecte] content-script: init");
this.bConnected = true;
oGrammalecte.sExtensionUrl = oMessage.sUrl;
oGrammalecte.listen();
oGrammalecte.createButton();
break;
case "ping":
console.log("[Grammalecte] Connection to background done.");
|
| ︙ |