Overview
| Comment: | [build][tb] fix imports for Thunderbird |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | build | tb | graphspell |
| Files: | files | file ages | folders |
| SHA3-256: |
5822c38ee909004969a0a3f32fd015f8 |
| User & Date: | olr on 2017-12-25 08:52:46 |
| Other Links: | branch diff | manifest | tags |
Context
|
2017-12-25
| ||
| 08:56 | [graphspell][js][helpers] echo for JS probably obsolete now (at last!) Closed-Leaf check-in: 186604b4a0 user: olr tags: graphspell | |
| 08:52 | [build][tb] fix imports for Thunderbird check-in: 5822c38ee9 user: olr tags: build, tb, graphspell | |
|
2017-12-24
| ||
| 22:36 | [build][js] fix import for helpers.js check-in: 6a18692390 user: olr tags: build, graphspell | |
Changes
Modified gc_core/js/lang_core/gc_engine.js from [5d510d771f] to [c5ee3ec605].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | - + |
// Grammar checker engine
/*jslint esversion: 6*/
/*global console,require,exports*/
"use strict";
${string}
${regex}
${map}
if (typeof(require) !== 'undefined') {
|
| ︙ |
Modified gc_lang/fr/modules-js/conj.js from [f88db6e13d] to [8bdb9ef82a].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - + |
// Grammalecte - Conjugueur
// License: GPL 3
/*jslint esversion: 6*/
/*global console,require,exports,self,browser*/
"use strict";
${map}
if (typeof(require) !== 'undefined') {
|
| ︙ |
Modified gc_lang/fr/modules-js/lexicographe.js from [7ba6d86b3e] to [be510450a4].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | - + |
// Grammalecte - Lexicographe
// License: MPL 2
/*jslint esversion: 6*/
/*global require,exports*/
"use strict";
${string}
${map}
if (typeof (require) !== 'undefined') {
|
| ︙ |
Modified gc_lang/fr/modules-js/mfsp.js from [7c56add844] to [9d6124ec70].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + |
// Grammalecte
/*jslint esversion: 6*/
/*global console,require,exports,browser*/
"use strict";
if (typeof(require) !== 'undefined') {
|
| ︙ |
Modified gc_lang/fr/modules-js/phonet.js from [18dd011880] to [07bba03053].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 | - + |
// Grammalecte - Suggestion phonétique
/*jslint esversion: 6*/
if (typeof(require) !== 'undefined') {
|
| ︙ |
Modified gc_lang/fr/tb/worker/gce_worker.js from [2bacc1f533] to [245ae8ae9c].
| ︙ | |||
57 58 59 60 61 62 63 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - + - + - - + |
function loadGrammarChecker (sGCOptions="", sContext="JavaScript") {
if (gce === null) {
try {
gce = require("resource://grammalecte/fr/gc_engine.js");
helpers = require("resource://grammalecte/graphspell/helpers.js");
text = require("resource://grammalecte/text.js");
tkz = require("resource://grammalecte/graphspell/tokenizer.js");
|
| ︙ | |||
121 122 123 124 125 126 127 | 120 121 122 123 124 125 126 127 128 129 130 131 132 | - + - - - - - - - - - - - - - - - - - - - - |
if (sGCOptions) {
gce.setOptions(helpers.objectToMap(JSON.parse(sGCOptions)));
}
let tests = require("resource://grammalecte/tests.js");
let oTest = new tests.TestGrammarChecking(gce);
let sAllRes = "";
for (let sRes of oTest.testParse()) {
|
Modified graphspell-js/ibdawg.js from [c1be157216] to [222e0edc2a].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - - + + + |
//// IBDAWG
/*jslint esversion: 6*/
/*global console,require,exports*/
"use strict";
if (typeof(require) !== 'undefined') {
|
| ︙ | |||
82 83 84 85 86 87 88 | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | - + |
class IBDAWG {
// INDEXABLE BINARY DIRECT ACYCLIC WORD GRAPH
constructor (sDicName, sPath="") {
try {
|
| ︙ |
Modified graphspell-js/tokenizer.js from [a34a81c6e5] to [d6429837c4].
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + |
// JavaScript
// Very simple tokenizer
/*jslint esversion: 6*/
/*global require,exports*/
"use strict";
if (typeof(require) !== 'undefined') {
|
| ︙ |