Subversion Repositories Applications.dictionnaire

Compare Revisions

Ignore whitespace Rev 6 → Rev 5

/scripts/dictionnaire.js
73,7 → 73,8
texte = element.text();
if(texte != "") {
$.each(mots, function(index, valeur) {
texte = rechercherEtRemplacerMotParDefinition(texte, valeur);
def = valeur['cle'];
texte = rechercherEtRemplacerMotParDefinition(texte, def);
});
element.replaceWith(texte);
}
99,6 → 100,7
$.ajax({
url: getUrlBaseService()+'mots/',
success: function(data) {
motsAyantDefinition = null;
motsAyantDefinition = data;
ajouterDefinitions(motsAyantDefinition);
},