X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=js%2FpageMinichat.js;h=aea8e2d273a3bece26d2f7e4b29668db7a6ee366;hb=4696f876c2a6e33619bf688138262fe9d85540f0;hp=8dc7b00216401507ba5140f345836a5cdcc06dff;hpb=e2fc8a1a3dd118b714a2ea55daf1829fa1b98649;p=euphorik.git
diff --git a/js/pageMinichat.js b/js/pageMinichat.js
index 8dc7b00..aea8e2d 100755
--- a/js/pageMinichat.js
+++ b/js/pageMinichat.js
@@ -16,1214 +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()
-{
- // le fait que tout soit collé est fait exprès, permet d'éviter d'avoir des espaces supplémentaires entre les spans'
- return '\
-
';
+
+ var trollXHTML = '