X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=js%2FpageMinichat.js;h=30ca5a38af3add50f6afa43725a005809ee2f2fc;hb=dc66525bdce5df290c5afe8d3f5eedb1a736d955;hp=8586bb5b94422d6f0359bc2cfa9d88cfc8104262;hpb=b208b89c76631ea685f7414f39116a6c1d660eee;p=euphorik.git
diff --git a/js/pageMinichat.js b/js/pageMinichat.js
index 8586bb5..30ca5a3 100755
--- a/js/pageMinichat.js
+++ b/js/pageMinichat.js
@@ -16,1163 +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.nom = "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 = '