Grammalecte  Check-in [442f6eaf7e]

Overview
Comment:[fx] remove console.log()
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 442f6eaf7e225ec5fce3598a7d0dbb9d2bb835943a25ea7479d879ca18eeb9e8
User & Date: olr on 2020-03-09 18:56:17
Other Links: manifest | tags
Context
2020-03-09
19:17
[fx] send result in event also if Grammalecte is launched by the context menu check-in: 98cbcc00d8 user: olr tags: fx, trunk
18:56
[fx] remove console.log() check-in: 442f6eaf7e user: olr tags: fx, trunk
18:54
[fx] call Grammalecte via custom button and send results by event on node check-in: 360a78ac9f user: olr tags: fx, trunk
Changes

Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [327f3b8b3c] to [f4ff64b873].

  1022   1022       write () {
  1023   1023           if (this.xNode !== null) {
  1024   1024               if (this.bResultInEvent) {
  1025   1025                   const xEvent = new CustomEvent("GrammalecteNodeContentUpdated", {
  1026   1026                       detail: { text: [...this.dParagraph.values()].join("\n").normalize("NFC") }
  1027   1027                   });
  1028   1028                   this.xNode.dispatchEvent(xEvent);
  1029         -                console.log("event", xEvent.detail.text);
         1029  +                //console.log("event", xEvent.detail.text);
  1030   1030               }
  1031   1031               else if (this.bTextArea) {
  1032   1032                   this.xNode.value = this.getText();
  1033   1033               }
  1034   1034               else {
  1035   1035                   this.eraseNodeContent();
  1036   1036                   this.dParagraph.forEach((val, key) => {