Overview
Comment: | [core][js][bug] wrong parameter name |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | rg |
Files: | files | file ages | folders |
SHA3-256: |
c1f1c0d9c1eedc12b875338c7fd49fd0 |
User & Date: | olr on 2018-09-14 09:46:19 |
Other Links: | branch diff | manifest | tags |
Context
2018-09-14
| ||
09:48 | [graphspell][js] tokenizer: fix var init check-in: 52d64fd395 user: olr tags: graphspell, rg | |
09:46 | [core][js][bug] wrong parameter name check-in: c1f1c0d9c1 user: olr tags: core, rg | |
2018-09-12
| ||
21:16 | [fr] ajustements check-in: cecc3acf1f user: olr tags: fr, rg | |
Changes
Modified gc_core/js/lang_core/gc_engine.js from [a0a87c723d] to [1fed82ec9f].
︙ | ︙ | |||
1111 1112 1113 1114 1115 1116 1117 | //// Analyse tokens for graph rules function g_value (dToken, sValues, nLeft=null, nRight=null) { // test if <dToken['sValue']> is in sValues (each value should be separated with |) let sValue = (nLeft === null) ? "|"+dToken["sValue"]+"|" : "|"+dToken["sValue"].slice(nLeft, nRight)+"|"; | | | 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 | //// Analyse tokens for graph rules function g_value (dToken, sValues, nLeft=null, nRight=null) { // test if <dToken['sValue']> is in sValues (each value should be separated with |) let sValue = (nLeft === null) ? "|"+dToken["sValue"]+"|" : "|"+dToken["sValue"].slice(nLeft, nRight)+"|"; if (sValues.includes(sValue)) { return true; } if (dToken["sValue"].slice(0,2).gl_isTitle()) { // we test only 2 first chars, to make valid words such as "Laissez-les", "Passe-partout". if (sValues.includes(sValue.toLowerCase())) { return true; } } |
︙ | ︙ |