Overview
Comment: | [tb] update gce_worker (still not working) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tb | gcerw |
Files: | files | file ages | folders |
SHA3-256: |
4d1ac4562e41e6236cbb60ab7f9643f5 |
User & Date: | olr on 2020-04-17 20:01:50 |
Other Links: | branch diff | manifest | tags |
Context
2020-04-17
| ||
20:46 | [tb] small update check-in: e85aa05f71 user: olr tags: tb, gcerw | |
20:01 | [tb] update gce_worker (still not working) check-in: 4d1ac4562e user: olr tags: tb, gcerw | |
19:25 | [fr] update Thunderbird path in config.ini check-in: 7d87d0d5dd user: olr tags: fr, gcerw | |
Changes
Modified gc_core/js/lang_core/gc_engine.js from [0042161b38] to [588d7fb4c8].
︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | - - + + | } else { this.oSpellChecker = new SpellChecker("${lang}", sPath, "${dic_main_filename_js}", "${dic_community_filename_js}", "${dic_personal_filename_js}"); } this.oOptionsColors = gc_options.getOptionsColors(sContext, sColorType); this.oTokenizer = this.oSpellChecker.getTokenizer(); this.oSpellChecker.activateStorage(); |
︙ | |||
1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 | 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 | + | exports.lang = gc_engine.lang; exports.locales = gc_engine.locales; exports.pkg = gc_engine.pkg; exports.name = gc_engine.name; exports.version = gc_engine.version; exports.author = gc_engine.author; // objects exports.getSpellChecker = gc_engine.getSpellChecker; exports.oSpellChecker = gc_engine.oSpellChecker; exports.oTokenizer = gc_engine.oTokenizer; exports.aIgnoredRules = gc_engine.aIgnoredRules; exports.oOptionsColors = gc_engine.oOptionsColors; // init exports.load = gc_engine.load; exports.parse = gc_engine.parse; |
︙ |
Modified gc_lang/fr/mailext/worker/gce_worker.js from [420e3521e3] to [19b6bbcbb9].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 | - - - - | // JavaScript // Grammar checker engine // PromiseWorker |
︙ | |||
38 39 40 41 42 43 44 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | - - - + + - - + - - + - - + - + - - + + - + - - - - + + + - + - - + + | // Connect it to message port. self.addEventListener("message", msg => worker.handleMessage(msg)); // end of copy/paste |
︙ | |||
98 99 100 101 102 103 104 | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | - + - + - + - + - - + + - - + + - - + + - + - + - + - + - + | } catch (e) { console.error(e); } } function parse (sText, sCountry, bDebug, bContext) { |