X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Fformateur.js;h=8fd8e0f766b4384811d80e5df0bcc693db8a7f27;hp=e0e72405dee61767dc718a1f06ce0f48760958b0;hb=e6475e1885c0a0f102387c01e9bcb78ac09b4ef8;hpb=5b696161ae91e007fc2e9bd455a14f4363772131 diff --git a/js/formateur.js b/js/formateur.js index e0e7240..8fd8e0f 100644 --- a/js/formateur.js +++ b/js/formateur.js @@ -16,8 +16,6 @@ // You should have received a copy of the GNU General Public License // along with Euphorik. If not, see . -/*jslint laxbreak:true */ - /** * Classe permettant de formater du texte par exemple pour la substitution des liens dans les @@ -160,7 +158,7 @@ euphorik.Formateur.prototype.getShort = function(url) { euphorik.Formateur.prototype.traiterPourFenetreLightBox = function(M, urlCourante) { var thisFormateur = this; var traitementUrl = function(url) { - return "[" + thisFormateur.getShort(url)[0] + (urlCourante == url ? "*" : "") + "]"; + return "[" + thisFormateur.getShort(url)[0] + (urlCourante === url ? "*" : "") + "]"; }; return this.remplacerBalisesHTML(M).replace(this.regexUrl, traitementUrl);