X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Fcommunication.js;h=417e8337b4b87186f0aacb36a1f34088bf4e8dff;hp=e472ccb1cd5d0239484846f76d20a82cafcfc8e7;hb=dd3320de291341d6d86f79421b85d12c4764b057;hpb=6ff8e72d002f5ccf2045cbccef2fdc4f92cff938 diff --git a/js/communication.js b/js/communication.js index e472ccb..417e833 100644 --- a/js/communication.js +++ b/js/communication.js @@ -24,7 +24,7 @@ */ euphorik.Communication = function(funError) { this.funError = funError; -} +}; euphorik.Communication.prototype.requete = function(action, json, funOk, funError, asynchrone, paramsSupp) { var thisCommunication = this; @@ -52,7 +52,7 @@ euphorik.Communication.prototype.requete = function(action, json, funOk, funErro thisCommunication.funError(data); } } else if (funOk) { - funOk(data) + funOk(data); } } }; @@ -64,10 +64,10 @@ euphorik.Communication.prototype.requete = function(action, json, funOk, funErro } jQuery.ajax(paramsAjax); -} +}; euphorik.Communication.prototype.getBase = function(action) { return { "header" : { "action" : action, "version" : euphorik.conf.versionProtocole } }; -} +}; \ No newline at end of file