X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Feuphorik.js;h=777a036c5d6d425e9f4c5455c985c27f304857e1;hp=5dff115067ff98f22b7812a291f759db924e6391;hb=e2355385811ba452308be5e66afc7f93cb6af75b;hpb=217c4d7a0d5f9fee3a8ef0a05ab8506c7f39d5e5 diff --git a/js/euphorik.js b/js/euphorik.js index 5dff115..777a036 100755 --- a/js/euphorik.js +++ b/js/euphorik.js @@ -16,8 +16,10 @@ // You should have received a copy of the GNU General Public License // along with Euphorik. If not, see . +/*jslint laxbreak:true */ + // tout euphorik est contenu dans cet objet -var euphorik = {} +var euphorik = {}; // le main $(document).ready( @@ -49,14 +51,15 @@ $(document).ready( }, "Non" : function() {} } - ) + ); }); $("#menu .register").click(function(){ pages.afficherPage("register"); }); $("#menu .about").click(function(){ pages.afficherPage("about"); }); + // TODO : simplifier et pouvoir créer des liens par exemple : Conditions d'utilisation $("#footer .conditions").click(function(){ pages.afficherPage("conditions_utilisation"); }); - + pages.ajouterPage(new euphorik.PageMinichat(client, formateur, util), true); pages.ajouterPage(new euphorik.PageAdmin(client, formateur, util)); pages.ajouterPage(new euphorik.PageProfile(client, formateur, util)); @@ -66,4 +69,4 @@ $(document).ready( pages.afficherPage(); } -) +); \ No newline at end of file