X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageMinichat%2FpageMinichat.js;h=c1276c7cfa56be9f0c6cbfd22bd2e130d8da46c5;hb=09608ab29e1c39ea51b51a5f8669dcde36efb306;hp=e952281dfad3bf5b286f8c12426507e9579c258d;hpb=15f8b5143c6b9dcfe86eda84c22c31826a7f3d1c;p=euphorik.git diff --git a/js/pageMinichat/pageMinichat.js b/js/pageMinichat/pageMinichat.js index e952281..c1276c7 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() { '