X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageMinichat.js;h=aea8e2d273a3bece26d2f7e4b29668db7a6ee366;hp=ec745f357f424e84b2a9617b68cf4a5a967bb1cd;hb=4696f876c2a6e33619bf688138262fe9d85540f0;hpb=994f68e1f8a7a43b55d6bd6214b2a0066671ba74
diff --git a/js/pageMinichat.js b/js/pageMinichat.js
index ec745f3..aea8e2d 100755
--- a/js/pageMinichat.js
+++ b/js/pageMinichat.js
@@ -16,1034 +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 = '