X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageAbout.js;h=362f857b7817983455acca6f3e46975ccf25f686;hb=a4e9d7cc44f5ba55dc35ca561ecca7f3e020d28a;hp=4ed1bd0ea81f1f1b0fb8b1e79c28c43096201388;hpb=ab7df84e7918ce2f4ab10d5498f2cf6483188b84;p=euphorik.git
diff --git a/js/pageAbout.js b/js/pageAbout.js
index 4ed1bd0..362f857 100644
--- a/js/pageAbout.js
+++ b/js/pageAbout.js
@@ -16,24 +16,21 @@
// You should have received a copy of the GNU General Public License
// along with Euphorik. If not, see .
-function PageAbout(client, formateur, util)
-{
- this.nom = "about"
+euphorik.PageAbout = function(client, formateur, util) {
+ this.nom = "about";
- this.client = client
- this.formateur = formateur
- this.util = util
-}
+ this.client = client;
+ this.formateur = formateur;
+ this.util = util;
+};
-PageAbout.prototype.contenu = function()
-{
- var contenu = ""
- $.ajax({async: false, url: "pages/about.html", success : function(page) { contenu += page }})
+euphorik.PageAbout.prototype.contenu = function() {
+ var contenu = "";
+ $.ajax({async: false, url: "pages/about.html", success : function(page) { contenu += page; }});
- var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz")
- return contenu.replace("{EMAIL}", "" + email + "").replace("{EMAIL_LIEN}", email)
-}
+ var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz");
+ return contenu.replace("{EMAIL}", "" + email + "").replace("{EMAIL_LIEN}", email);
+};
-PageAbout.prototype.charger = function()
-{
-}
+euphorik.PageAbout.prototype.charger = function() {
+};