Overview
Comment: | [core][fx] fix calls to gc_options |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | fx | gcerw |
Files: | files | file ages | folders |
SHA3-256: |
af2ff73c994e8f398b50f1e492b8a689 |
User & Date: | olr on 2020-04-17 19:02:30 |
Other Links: | branch diff | manifest | tags |
Context
2020-04-17
| ||
19:10 | [graphspell][js] ad hoc suggestions as private dictionary -> access via the module object check-in: dfc20f24e1 user: olr tags: graphspell, gcerw | |
19:02 | [core][fx] fix calls to gc_options check-in: af2ff73c99 user: olr tags: core, fx, gcerw | |
18:37 | merge trunk (empty): conflict solved before check-in: f69a4ea6d7 user: olr tags: gcerw | |
Changes
Modified gc_core/js/tests.js from [147f1c4e7b] to [6174473e22].
︙ | |||
12 13 14 15 16 17 18 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | - - + + + - + - + - + | } else if (typeof(require) !== 'undefined') { var helpers = require("resource://grammalecte/graphspell/helpers.js"); } class TestGrammarChecking { |
︙ | |||
88 89 90 91 92 93 94 | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - + | } catch (e) { console.error(e); } if (bShowUntested) { i = 0; |
︙ | |||
134 135 136 137 138 139 140 | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | - - - + + + - + | return " ".repeat(sLine.length); } _getFoundErrors (sLine, bDebug, sOption) { try { let aErrs = []; if (sOption) { |
︙ |
Modified gc_lang/fr/webext/gce_worker.js from [e414bb30c0] to [4717319dce].
︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - | importScripts("grammalecte/fr/phonet.js"); importScripts("grammalecte/fr/cregex.js"); importScripts("grammalecte/fr/gc_options.js"); importScripts("grammalecte/fr/gc_rules.js"); importScripts("grammalecte/fr/gc_rules_graph.js"); importScripts("grammalecte/fr/gc_engine_func.js"); importScripts("grammalecte/fr/gc_engine.js"); |
︙ | |||
174 175 176 177 178 179 180 | 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | - + | //console.log("[Worker] Loading… Extension path: " + sExtensionPath); conj.init(helpers.loadFile(sExtensionPath + "/grammalecte/fr/conj_data.json")); phonet.init(helpers.loadFile(sExtensionPath + "/grammalecte/fr/phonet_data.json")); mfsp.init(helpers.loadFile(sExtensionPath + "/grammalecte/fr/mfsp_data.json")); //console.log("[Worker] Modules have been initialized…"); gc_engine.load(sContext, "aHSL", sExtensionPath+"grammalecte/graphspell/_dictionaries"); oSpellChecker = gc_engine.getSpellChecker(); |
︙ | |||
258 259 260 261 262 263 264 | 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 | - + - + - - + + - - + + - - + + | catch (e) { console.error(e); postMessage(createResponse("getListOfTokens", createErrorResult(e, "no tokens"), oInfo, true, true)); } } function getOptions (oInfo={}) { |
︙ | |||
324 325 326 327 328 329 330 | 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | - - + + - + - + | } function fullTests (oInfo={}) { if (!gc_engine) { postMessage(createResponse("fullTests", "# Grammar checker not loaded.", oInfo, true)); return; } |
︙ |