X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageMinichat%2FpageMinichat.js;h=0b9c5b362ee2b83a41dd0230db2408e89b819f6f;hb=d6dcd0fd8af56bd4791aa4e621c2e5058033c37a;hp=64914b1c3ef65914bec11030b583e8840be49ac1;hpb=de42c1d3c8cd320a8481e93976316a920b9ad6a8;p=euphorik.git diff --git a/js/pageMinichat/pageMinichat.js b/js/pageMinichat/pageMinichat.js index 64914b1..0b9c5b3 100755 --- a/js/pageMinichat/pageMinichat.js +++ b/js/pageMinichat/pageMinichat.js @@ -18,21 +18,18 @@ /*jslint laxbreak:true */ -euphorik.PageMinichat = function(client, formateur, util, communication) { +euphorik.PageMinichat = function(client, formater, util, communication) { this.nom = "minichat"; this.client = client; - this.formateur = formateur; + this.formater = formater; this.util = util; this.communication = communication; - this.commandes = new euphorik.Commandes(this.client); + this.commandes = new euphorik.Commandes(this.client, this, this.util, this.formater); // permet d'éviter d'envoyer plusieurs messages simultanément en pressant // rapidement sur "enter" par exemple this.envoieMessageEnCours = false; - - this.regexMessageTagMatch = /\{.*?\}>/g; - this.regexMessageTagReplace = /^(.*?\{.*?\}>)*/; }; euphorik.PageMinichat.prototype.contenu = function() { @@ -41,7 +38,7 @@ euphorik.PageMinichat.prototype.contenu = function() { '
' + ' ' + - ' ' + + ' ' + ' ' + '' ); @@ -97,13 +94,8 @@ euphorik.PageMinichat.prototype.charger = function() { } // la barre d'outils liée à chaque message - this.util.outilsMessage = $('