projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modification de la branche 0.9
[euphorik.git]
/
js
/
euphorik.js
diff --git
a/js/euphorik.js
b/js/euphorik.js
index
3b17bf5
..
2d64fe2
100755
(executable)
--- a/
js/euphorik.js
+++ b/
js/euphorik.js
@@
-40,7
+40,8
@@
var conf = {
"kirby" : [/\[-kirby\]/g],
"slurp" : [/\[-slurp\]/g],
"agreed" : [/\[-agreed\]/g],
"kirby" : [/\[-kirby\]/g],
"slurp" : [/\[-slurp\]/g],
"agreed" : [/\[-agreed\]/g],
- "dodo" : [/\[-dodo\]/g]
\r
+ "dodo" : [/\[-dodo\]/g],
+ "bn" : [/\[-bn\]/g]
\r
}
\r
}
\r
}
\r
}
\r
@@
-304,7
+305,8
@@
Formateur.prototype.traiterLiensConv = function(M)
}
\r
/**
\r
}
\r
/**
\r
- * FIXME : Cette méthode est attrocement lourde ! A optimiser.
\r
+ * FIXME : Cette méthode est attrocement lourde ! A optimiser.
+ * moyenne su échantillon : 234ms
\r
*/
Formateur.prototype.traiterSmiles = function(M)
{
*/
Formateur.prototype.traiterSmiles = function(M)
{
@@
-425,6
+427,7
@@
Client.prototype.resetDonneesPersonnelles = function()
this.nickFormat = "nick"
this.pagePrincipale = 1
this.nickFormat = "nick"
this.pagePrincipale = 1
+ this.ekMaster = false
// les conversations, une conversation est un objet possédant les attributs suivants :
// - racine (entier)
// les conversations, une conversation est un objet possédant les attributs suivants :
// - racine (entier)
@@
-705,6
+708,7
@@
Client.prototype.chargerDonnees = function(data)
// les conversations
thisClient.conversations = data["conversations"]
// les conversations
thisClient.conversations = data["conversations"]
+ thisClient.ekMaster = data["ek_master"]
}
this.dernierMessageErreur = data["error_message"]
}
}
this.dernierMessageErreur = data["error_message"]
}
@@
-799,12
+803,7
@@
jQuery(document).ready(
initialiserListeStyles(client)
// TODO : pourquoi jQuery(document).unload ne fonctionne pas ?
initialiserListeStyles(client)
// TODO : pourquoi jQuery(document).unload ne fonctionne pas ?
- jQuery(window).unload(
- function()
- {
- client.flush(false)
- }
- )
+ jQuery(window).unload(function(){client.flush(false)})
jQuery("#menu .minichat").click(function(){ pages.afficherPage("minichat") })
jQuery("#menu .profile").click(function(){ pages.afficherPage("profile") })
\r
jQuery("#menu .minichat").click(function(){ pages.afficherPage("minichat") })
jQuery("#menu .profile").click(function(){ pages.afficherPage("profile") })
\r