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