Differences From Artifact [3d581c8015]:
- File gc_lang/fr/modules-js/mfsp.js — part of check-in [5dd4693a8f] at 2017-08-08 17:31:11 on branch webext2_fix — [core] add isInit in object conj, phonet, mfsp to prevent loading data twice (user: IllusionPerdu, size: 4072) [annotate] [blame] [check-ins using]
To Artifact [689f0a7f0b]:
- File gc_lang/fr/modules-js/mfsp.js — part of check-in [6cea30d5de] at 2017-08-08 17:45:08 on branch webext2_fix — [core] set isInit to true when the object was initialized (user: IllusionPerdu, size: 4104) [annotate] [blame] [check-ins using]
︙ | |||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | + | init: function (sJSONData) { try { let _oData = JSON.parse(sJSONData); this._lTagMiscPlur = _oData.lTagMiscPlur; this._lTagMasForm = _oData.lTagMasForm; this._dMiscPlur = helpers.objectToMap(_oData.dMiscPlur); this._dMasForm = helpers.objectToMap(_oData.dMasForm); this.isInit = true; } catch (e) { console.error(e); } }, isFemForm: function (sWord) { |
︙ |