89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
phonet.init(helpers.loadFile(browser.extension.getURL("grammalecte/fr/phonet_data.json")));
} else if (!phonet.bInit && typeof(require) !== 'undefined') {
// Add-on SDK and Thunderbird
phonet.init(helpers.loadFile("resource://grammalecte/fr/phonet_data.json"));
} else if (phonet.bInit){
console.log("Module phonet déjà initialisé");
} else {
console.log("Module phonet non initialisé");
}
if (typeof(exports) !== 'undefined') {
exports._dWord = phonet._dWord;
exports._lSet = phonet._lSet;
exports._dMorph = phonet._dMorph;
|
|
|
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
phonet.init(helpers.loadFile(browser.extension.getURL("grammalecte/fr/phonet_data.json")));
} else if (!phonet.bInit && typeof(require) !== 'undefined') {
// Add-on SDK and Thunderbird
phonet.init(helpers.loadFile("resource://grammalecte/fr/phonet_data.json"));
} else if (phonet.bInit){
console.log("Module phonet déjà initialisé");
} else {
//console.log("Module phonet non initialisé");
}
if (typeof(exports) !== 'undefined') {
exports._dWord = phonet._dWord;
exports._lSet = phonet._lSet;
exports._dMorph = phonet._dMorph;
|