Grammalecte  Check-in [9b5050cd48]

Overview
Comment:[core][js] remove let
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core | webext2
Files: files | file ages | folders
SHA3-256: 9b5050cd489d5b57f2df1f5ae4728da6c0732b9ad32661c9c1cd8fcafcedb314
User & Date: olr on 2017-08-02 06:57:21
Other Links: branch diff | manifest | tags
Context
2017-08-03
08:24
[core][js] conj initialization check-in: 63625992e9 user: olr tags: core, webext2
2017-08-02
06:57
[core][js] remove let check-in: 9b5050cd48 user: olr tags: core, webext2
06:26
[core][js] variable renaming again check-in: e35b6e2bbd user: olr tags: core, webext2
Changes

Modified gc_lang/fr/modules-js/conj.js from [9f623c71aa] to [84d4cf88d5].

477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
        return (this.dConj.get(":PQ").get(":Q4")) ? this.dConj.get(":PQ").get(":Q4") : this.dConj.get(":PQ").get(":Q1");
    }
}


if (typeof(exports) !== 'undefined') {
    // used within Grammalecte library
    let helpers = require("resource://grammalecte/helpers.js");
    conj.init(helpers.loadFile("resource://grammalecte/fr/conj_data.json"));
} else {
    // used within Firefox content script (conjugation panel).
    // can’t load JSON from here, so we do it in ui.js and send it here.
    self.port.on("provideConjData", function (sJSONData) {
        conj.init(sJSONData);
    });







|







477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
        return (this.dConj.get(":PQ").get(":Q4")) ? this.dConj.get(":PQ").get(":Q4") : this.dConj.get(":PQ").get(":Q1");
    }
}


if (typeof(exports) !== 'undefined') {
    // used within Grammalecte library
    helpers = require("resource://grammalecte/helpers.js");
    conj.init(helpers.loadFile("resource://grammalecte/fr/conj_data.json"));
} else {
    // used within Firefox content script (conjugation panel).
    // can’t load JSON from here, so we do it in ui.js and send it here.
    self.port.on("provideConjData", function (sJSONData) {
        conj.init(sJSONData);
    });