Grammalecte  Check-in [eda5a34bc9]

Overview
Comment:Changement mineur
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fr | Lexicographe
Files: files | file ages | folders
SHA3-256: eda5a34bc909f43f7151505f3ed61be03199ed2b38be526ee78d378f637e32a5
User & Date: IllusionPerdu on 2017-10-31 20:42:08
Other Links: branch diff | manifest | tags
Context
2017-10-31
21:05
Optimisation mineur check-in: 1a7c706a66 user: IllusionPerdu tags: Lexicographe, fr
20:42
Changement mineur check-in: eda5a34bc9 user: IllusionPerdu tags: Lexicographe, fr
19:47
Ajustement pour retrouver les informations des locutions check-in: 70a2417975 user: IllusionPerdu tags: Lexicographe, fr
Changes

Modified gc_lang/fr/modules-js/lexicographe.js from [30978ab7a1] to [8b933913ea].

   347    347           let sRes = "";
   348    348           let sTagsVerb = sTags.replace(/(:LV)([a-z].?)(.*)/, '$2');
   349    349           sTags = sTags.replace(/(:LV)([a-z].?)(.*)/, "V$1");
   350    350           let m;
   351    351           while ((m = this._zTag.exec(sTags)) !== null) {
   352    352               sRes += _dLocTAGS.get(m[0]);
   353    353               if (m[0] == ':LV'){
   354         -                for (let sKey of sTagsVerb.split('')) {
          354  +                sTagsVerb.split(/(?!$)/u).forEach(function(sKey) {
   355    355                       sRes += _dLocVERB.get(sKey);
   356         -                };
          356  +                });
   357    357               }
   358    358               if (sRes.length > 100) {
   359    359                   break;
   360    360               }
   361    361           }
   362    362           if (!sRes) {
   363    363               sRes = "#Erreur. Étiquette inconnue : [" + sTags + "]";