X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageMinichat.js;h=86c059e4486f441a05d96b7645ec929bc10fdc4d;hp=b09b4ca760493fe548e86973aca8c7023486e3bb;hb=828daf607fdce322ea17c1786dff84f712aa1632;hpb=e82b363f65838828948a62ef4452e752743ef661
diff --git a/js/pageMinichat.js b/js/pageMinichat.js
index b09b4ca..86c059e 100755
--- a/js/pageMinichat.js
+++ b/js/pageMinichat.js
@@ -16,1105 +16,279 @@
// You should have received a copy of the GNU General Public License
// along with Euphorik. If not, see .
-function PageMinichat(client, formateur, util)
-{
- this.nom = "minichat"
+/*jslint laxbreak:true */
+
+euphorik.PageMinichat = function(client, formater, util, communication) {
+ this.name = "minichat";
- this.client = client
- this.formateur = formateur
- this.util = util
+ this.client = client;
+ this.formater = formater;
+ this.util = util;
+ this.communication = communication;
+ 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 = /^(.*?\{.*?\}>)*/
-}
-
-PageMinichat.prototype.contenu = function()
-{
- return '\
-
';
+
+ var trollXHTML = '