* /nick <nouveau nick>
* Modifie le pseudo courant
*/
-euphorik.Commandes = function(client, pageMinichat, util, formateur) {
+euphorik.Commandes = function(client, pageMinichat, util, formater) {
var thisCommandes = this;
this.client = client;
this.pageMinichat = pageMinichat;
this.util = util;
- this.formateur = formateur;
+ this.formater = formater;
// construction du texte d'aide (liste des commandes) de manière statique
this.texteAide = "<div id=\"aideCommandes\"><h1>Commandes</h1><ul>";
objectEach(
euphorik.Commandes.liste,
function(nom, commande) {
- thisCommandes.texteAide += "<li><span class=\"usage\">" + thisCommandes.formateur.traitementComplet(commande.usage) + "</span> : " + thisCommandes.formateur.traitementComplet(commande.description) + "</li>";
+ thisCommandes.texteAide += "<li><span class=\"usage\">" + thisCommandes.formater.traitementComplet(commande.usage) + "</span> : " + thisCommandes.formater.traitementComplet(commande.description) + "</li>";
}
);
this.texteAide += "</ul></div>";