X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Feuphorik.js;h=4210713c8a0d1787cccf43cdc90c2e4b7d615f75;hp=29e85ad1270e654ac3f28de06a62c4838d86a6f5;hb=934ab32cd6fac44f6b3ebedef69ce1ccd0b8701b;hpb=221a44d7aeaf467ef9854fe21af93bc964e92ef1 diff --git a/js/euphorik.js b/js/euphorik.js index 29e85ad..4210713 100755 --- a/js/euphorik.js +++ b/js/euphorik.js @@ -277,7 +277,7 @@ Formateur.prototype.getSmilesHTML = function() var XHTML = "" for (var sNom in this.smiles) { - XHTML += "" + XHTML += "\""" } return XHTML } @@ -311,7 +311,7 @@ Formateur.prototype.traiterLiensConv = function(M) /** * FIXME : Cette méthode est attrocement lourde ! A optimiser. - * moyenne su échantillon : 234ms + * moyenne sur échantillon : 234ms */ Formateur.prototype.traiterSmiles = function(M) { @@ -319,7 +319,7 @@ Formateur.prototype.traiterSmiles = function(M) { ss = this.smiles[sNom] for (var i = 0; i < ss.length; i++) - M = M.replace(ss[i], "") + M = M.replace(ss[i], "\""") } return M }