/**
* Correspond à une page html statique se nommant "<nom>.html" et se trouvant dans "/pages/".
*/
-euphorik.PageStatique = function(nom, communication) {
- this.nom = nom;
+euphorik.PageStatique = function(name, communication) {
+ this.name = name;
this.communication = communication;
};
euphorik.PageStatique.prototype.contenu = function() {
- return this.communication.load("pages/" + this.nom + ".html");
+ return this.communication.load("pages/" + this.name + ".html");
};
euphorik.PageStatique.prototype.charger = function() {