X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageStatic.js;h=df782f81f9c4a24419c695f6249f0ee9d487faa3;hp=4580bf3260af4685cb5639db3ea8b3b6773d043e;hb=24ed7a141aa345454300dd260bbabae3a9f92408;hpb=ab6de4c6baf1feb8f35e0bf45867315899777bdc diff --git a/js/pageStatic.js b/js/pageStatic.js index 4580bf3..df782f8 100644 --- a/js/pageStatic.js +++ b/js/pageStatic.js @@ -19,13 +19,13 @@ /** * Correspond à une page html statique se nommant ".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() {