# java -version
java version "1.7.0_151"
OpenJDK Runtime Environment (IcedTea 2.6.11) (7u151-2.6.11-2~deb7u3)
OpenJDK 64-Bit Server VM (build 24.151-b01, mixed mode)

--
Pour toute demande de support informatique :
[email protected]<mailto:[email protected]>

Pour une assistance à distance : cliquez ici<http://get.teamviewer.com/ak6yycv>
---
Vincent Lepetit
Administrateur Systèmes, Réseaux et Télécom
Tel : +33 176 218 318
Mob : +33 634 422 573
Paris Sciences et Lettres
60 rue mazarine
Paris, 75006
http://www.univ-psl.fr

Le 5 févr. 2018 à 10:57, Soisik Froger 
<[email protected]<mailto:[email protected]>> 
a écrit :

On 05/02/2018 10:35, Vincent LEPETIT wrote:
Thanks for advice. I just simply follow this description and the exemples :
https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/filter
After some research it’s seem to be a javasript langugae version problem on my 
Debian Wheezy distrib.
Because some fonctionnality that i use in this code, like Math.max seem to be 
call in oldest way :
http://www.jstips.co/en/javascript/calculate-the-max-min-value-from-an-array/
this ES2105 way don’t work
var DateDepartMax = Math.max(...DatesDepart);
but this :
var DateDepartMax = Math.max.apply(null,DatesDepart);
seem to work
And the fonction array filter seem to do not are implemented in my current 
javascript language version…
So i have 3 options :
1 - update my distrib, but it's need some stuff
2 - update javascript language in my actual distrib but i don’t know if it’s 
possible and if it’s simply way
3 - Modify my script to be compliant whis my javascript language version ( and 
i don’t know what version of javascript i use..)
I continu to search.

Which java version do you use ? LSC used js script engine embeded in the JVM.

--
Soisik
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]<mailto:[email protected]>
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to