Overview
Comment: | [core][js] conj initialization |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | webext2 |
Files: | files | file ages | folders |
SHA3-256: |
63625992e938d9825a345798171c14da |
User & Date: | olr on 2017-08-03 08:24:29 |
Other Links: | branch diff | manifest | tags |
Context
2017-08-03
| ||
08:43 | [core][js] mfsp initialization check-in: ef57c2c66f user: olr tags: core, webext2 | |
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 | |
Changes
Modified gc_core/js/helpers.js from [60e583b5e8] to [a78485e9a7].
︙ | |||
47 48 49 50 51 52 53 | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | - - + | // load ressources in workers (suggested by Mozilla extensions reviewers) // for more options have a look here: https://gist.github.com/Noitidart/ec1e6b9a593ec7e3efed // if not in workers, use sdk/data.load() instead try { let xRequest; if (typeof XMLHttpRequest !== "undefined") { xRequest = new XMLHttpRequest(); |
︙ |
Modified gc_lang/fr/modules-js/conj.js from [84d4cf88d5] to [a6c15a3f17].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - | // Grammalecte - Conjugueur // License: GPL 3 "use strict"; ${map} |
︙ | |||
475 476 477 478 479 480 481 | 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 | + + + + - - - + + + - + + + | return (this.dConj.get(":PQ").get(":Q3")) ? this.dConj.get(":PQ").get(":Q3") : this.dConj.get(":PQ").get(":Q1"); } return (this.dConj.get(":PQ").get(":Q4")) ? this.dConj.get(":PQ").get(":Q4") : this.dConj.get(":PQ").get(":Q1"); } } // Initialization if (typeof(browser) !== 'undefined') { // WebExtension conj.init(helpers.loadFile(browser.extension.getURL("grammalecte/fr/conj_data.json"))); |
︙ |
Modified gc_lang/fr/webext/gce_worker.js from [245798772a] to [804f6b6cbe].
︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | + + | — Edge 15 – behind the Experimental JavaScript Features setting in about:flags. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export */ helpers.echo("START"); helpers.echo(conj.getConj("devenir", ":E", ":2s")); let oTokenizer = null; let oDict = null; let oLxg = null; function loadGrammarChecker (sGCOptions="", sContext="JavaScript") { |
︙ |
Modified gc_lang/fr/webext/manifest.json from [f93daca40b] to [282aafe91a].
︙ | |||
30 31 32 33 34 35 36 37 38 39 40 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | + - - - + + + + | "browser_style": false }, "background": { "scripts": [ "grammalecte/helpers.js", "grammalecte/text.js", "grammalecte/tokenizer.js", "grammalecte/fr/conj.js", "gce_worker.js" ] }, "web_accessible_resources": [ |