Overview
Comment: | [core] set isInit to true when the object was initialized |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | webext2_fix |
Files: | files | file ages | folders |
SHA3-256: |
6cea30d5def1a075f3e5c17d47c5b7da |
User & Date: | IllusionPerdu on 2017-08-08 17:45:08 |
Original Comment: | [gc_lang] set isInit to true when the object was initialized |
Other Links: | branch diff | manifest | tags |
Context
2017-08-08
| ||
17:51 | [fx] merge webext2 check-in: 5a4cc905e2 user: IllusionPerdu tags: fx, webext2_fix | |
17:45 | [core] set isInit to true when the object was initialized check-in: 6cea30d5de user: IllusionPerdu tags: core, webext2_fix | |
17:31 | [core] add isInit in object conj, phonet, mfsp to prevent loading data twice check-in: 5dd4693a8f user: IllusionPerdu tags: core, webext2_fix | |
Changes
Modified gc_lang/fr/modules-js/conj.js from [2cae186485] to [f441399830].
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + | init: function (sJSONData) { try { let _oData = JSON.parse(sJSONData); this._lVtyp = _oData.lVtyp; this._lTags = _oData.lTags; this._dPatternConj = _oData.dPatternConj; this._dVerb = _oData.dVerb; this.isInit = true; } catch (e) { console.error(e); } }, _zStartVoy: new RegExp("^[aeéiouœê]"), |
︙ |
Modified gc_lang/fr/modules-js/mfsp.js from [3d581c8015] to [689f0a7f0b].
︙ | |||
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) { |
︙ |
Modified gc_lang/fr/modules-js/phonet.js from [b606739764] to [2b1a025d02].
︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | + | isInit: false, init: function (sJSONData) { try { let _oData = JSON.parse(sJSONData); this._dWord = helpers.objectToMap(_oData.dWord); this._lSet = _oData.lSet; this._dMorph = helpers.objectToMap(_oData.dMorph); this.isInit = true; } catch (e) { console.error(e); } }, hasSimil: function (sWord, sPattern=null) { |
︙ |