Overview
Comment: | [tb] fix conjugueur initialization… (again, and again, and again, and again, thanks to the endless JS pile of shit) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tb | tbnext |
Files: | files | file ages | folders |
SHA3-256: |
8253dcac9777b9c5277bc62c139ad76d |
User & Date: | olr on 2018-03-10 15:18:29 |
Other Links: | branch diff | manifest | tags |
Context
2018-03-14
| ||
15:37 | [tb] remove dialog for bundled options > common dialog box check-in: 617b4e1348 user: olr tags: tb, tbnext | |
2018-03-10
| ||
15:18 | [tb] fix conjugueur initialization… (again, and again, and again, and again, thanks to the endless JS pile of shit) check-in: 8253dcac97 user: olr tags: tb, tbnext | |
14:58 | [tb] fix modules importation, remove old logging system… check-in: a90720e17c user: olr tags: tb, tbnext | |
Changes
Modified gc_lang/fr/tb/content/conjugueur.js from [91bf4af012] to [e2b39bc09c].
︙ | ︙ | |||
76 77 78 79 80 81 82 | if (!conj.isVerb(sVerb)) { document.getElementById('verb').style = "color: #BB4411;"; } else { document.getElementById('verb_title').textContent = sVerb; document.getElementById('verb').style = "color: #999999;"; document.getElementById('verb').value = ""; | | | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | if (!conj.isVerb(sVerb)) { document.getElementById('verb').style = "color: #BB4411;"; } else { document.getElementById('verb_title').textContent = sVerb; document.getElementById('verb').style = "color: #999999;"; document.getElementById('verb').value = ""; this.oVerb = new Verb(sVerb); let sRawInfo = this.oVerb._sRawInfo; document.getElementById('info').textContent = this.oVerb.sInfo; document.getElementById('opro').textContent = "pronominal"; if (sRawInfo.endsWith("zz")) { document.getElementById('opro').checked = false; document.getElementById('opro').disabled = true; document.getElementById('opro').style = "color: #CCC;"; |
︙ | ︙ | |||
264 265 266 267 268 269 270 271 | } catch (e) { Cu.reportError(e); } } }; oConj.init(); | > < | 264 265 266 267 268 269 270 271 272 | } catch (e) { Cu.reportError(e); } } }; conj.init(helpers.loadFile("resource://grammalecte/fr/conj_data.json")); oConj.init(); |
Modified gc_lang/fr/tb/content/conjugueur.xul from [cd97a646e7] to [a9e15bac00].
︙ | ︙ | |||
150 151 152 153 154 155 156 157 158 159 | <label id="condb4" class="cj">.</label> <label id="condb5" class="cj">.</label> <label id="condb6" class="cj">.</label> </groupbox> </column> </columns> <script type="application/javascript" src="resource://grammalecte/fr/conj.js"/> <script type="application/javascript" src="conjugueur.js"/> </dialog> | > | 150 151 152 153 154 155 156 157 158 159 160 | <label id="condb4" class="cj">.</label> <label id="condb5" class="cj">.</label> <label id="condb6" class="cj">.</label> </groupbox> </column> </columns> <script type="application/javascript" src="resource://grammalecte/graphspell/helpers.js"/> <script type="application/javascript" src="resource://grammalecte/fr/conj.js"/> <script type="application/javascript" src="conjugueur.js"/> </dialog> |