X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Feuphorik.js;h=cac44c8d93dfdd9ec92ef589d04e0e347f33b8a6;hp=e3bd7200111b79fde0aea76e7648d04d4fae3fd7;hb=4a6c575807a90370c0069b688026b10102e1ce10;hpb=6926aecb1cdd777ef8c52f63291341a540670a2c;ds=sidebyside
diff --git a/js/euphorik.js b/js/euphorik.js
index e3bd720..cac44c8 100755
--- a/js/euphorik.js
+++ b/js/euphorik.js
@@ -17,7 +17,7 @@
// along with Euphorik. If not, see .
/*jslint laxbreak:true */
-
+
// all euphorik is contained in this object
var euphorik = {};
@@ -25,8 +25,8 @@ var euphorik = {};
$(document).ready(
function() {
var fragment = new Fragment();
- var formater = new euphorik.Formater();
- var util = new euphorik.Util(formater);
+ var formatter = new euphorik.Formatter();
+ var util = new euphorik.Util(formatter);
var communication = new euphorik.Communication(
function(data) { util.messageDialog(data.error_message); },
function() { util.showWaitBar(); },
@@ -61,16 +61,16 @@ $(document).ready(
$("#menu .register").click(function(){ pages.displayPage("register"); });
$("#menu .about").click(function(){ pages.displayPage("about"); });
- // TODO : simplification : such link[1] should be created and automatically open the right page without
- // explicitly add a page.
+ // TODO : simplification : such link[1] should be created and automatically open the right page without
+ // explicitly add a page.
// [1] : Terms of use
$("#footer .termsOfUse").click(function(){ pages.displayPage("terms_of_use"); });
- pages.addPage(new euphorik.PageMinichat(client, formater, util, communication), true);
- pages.addPage(new euphorik.PageAdmin(client, formater, util, communication));
- pages.addPage(new euphorik.PageProfile(client, formater, util));
- pages.addPage(new euphorik.PageRegister(client, formater, util));
- pages.addPage(new euphorik.PageAbout(client, formater, util, communication));
+ pages.addPage(new euphorik.PageMinichat(client, formatter, util, communication), true);
+ pages.addPage(new euphorik.PageAdmin(client, formatter, util, communication));
+ pages.addPage(new euphorik.PageProfile(client, formatter, util));
+ pages.addPage(new euphorik.PageRegister(client, formatter, util));
+ pages.addPage(new euphorik.PageAbout(client, formatter, util, communication));
pages.addPage("terms_of_use");
pages.displayPage(); // display the default page