// coding: utf-8
// Copyright 2008 Grégory Burri
//
// This file is part of Euphorik.
//
// Euphorik is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Euphorik is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Euphorik. If not, see .
/**
* Correspond à une page html statique se nommant ".html" et se trouvant dans "/pages/".
*/
euphorik.PageStatique = function(name, communication) {
this.name = name;
this.communication = communication;
};
euphorik.PageStatique.prototype.contenu = function() {
return this.communication.load("pages/" + this.name + ".html");
};
euphorik.PageStatique.prototype.charger = function() {
};