Grammalecte  Diff

Differences From Artifact [17494340df]:

To Artifact [c49188f2a5]:


1
2

3


4
5
6
7
8
9
10
// Grammalecte - Suggestion phonétique


const helpers = require("resource://grammalecte/helpers.js");



const _oData = JSON.parse(helpers.loadFile("resource://grammalecte/fr/phonet_data.json"));
const _dWord = helpers.objectToMap(_oData.dWord);
const _lSet = _oData.lSet;
const _dMorph = helpers.objectToMap(_oData.dMorph);




>
|
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
// Grammalecte - Suggestion phonétique

if (typeof(exports) !== 'undefined') {
    var helpers = require("resource://grammalecte/helpers.js");
}


const _oData = JSON.parse(helpers.loadFile("resource://grammalecte/fr/phonet_data.json"));
const _dWord = helpers.objectToMap(_oData.dWord);
const _lSet = _oData.lSet;
const _dMorph = helpers.objectToMap(_oData.dMorph);