Subversion Repositories Applications.dictionnaire

Compare Revisions

Ignore whitespace Rev 5 → Rev 6

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