@@ -392,7 +392,7 @@ <h2>Notes:</h2>
392392
393393 BOUNDS_LIMIT : [ - 10 , 10 ]
394394
395- }
395+ } ;
396396
397397 var foucaultPendulumProject = { } ;
398398
@@ -426,19 +426,19 @@ <h2>Notes:</h2>
426426
427427 function setAxisLabel ( graphType , axis ) {
428428
429- if ( graphType === 'x(t)' && axis === 'y' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "x[m]" : "Évolution de la coordonnée x en mètres." }
429+ if ( graphType === 'x(t)' && axis === 'y' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "x[m]" : "Évolution de la coordonnée x en mètres." ; }
430430
431- else if ( graphType === 'y(t)' && axis === 'y' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "y[mm]" : "Évolution de la coordonnée y en millimètres." }
431+ else if ( graphType === 'y(t)' && axis === 'y' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "y[mm]" : "Évolution de la coordonnée y en millimètres." ; }
432432
433- else if ( graphType === 'x(y)' && axis === 'x' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "x[m]" : "Évolution de la coordonnée x en mètres." }
433+ else if ( graphType === 'x(y)' && axis === 'x' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "x[m]" : "Évolution de la coordonnée x en mètres." ; }
434434
435- else if ( graphType === 'x(y)' && axis === 'y' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "y[mm]" : "Évolution de la coordonnée y en millimètres." }
435+ else if ( graphType === 'x(y)' && axis === 'y' ) { return ( $ ( window ) . width ( ) <= 768 ) ? "y[mm]" : "Évolution de la coordonnée y en millimètres." ; }
436436
437437 else return ( $ ( window ) . width ( ) <= 768 ) ? "t[s]" : "Évolution du temps en secondes" ;
438438
439439 }
440440
441- function setXAxisTick ( param ) { return ( $ ( window ) . width ( ) <= 768 ) ? [ ( Math . trunc ( param ) / 4 ) , ( Math . trunc ( param ) / 2 ) ] : [ ( Math . trunc ( param ) / 8 ) , ( Math . trunc ( param ) / 4 ) ] }
441+ function setXAxisTick ( param ) { return ( $ ( window ) . width ( ) <= 768 ) ? [ ( Math . trunc ( param ) / 4 ) , ( Math . trunc ( param ) / 2 ) ] : [ ( Math . trunc ( param ) / 8 ) , ( Math . trunc ( param ) / 4 ) ] ; }
442442
443443 function foucaultSystem ( t , y ) {
444444
@@ -460,7 +460,7 @@ <h2>Notes:</h2>
460460
461461 let init = [ x0 , 0 , 0 , 0 ] ;
462462
463- let tSpan = [ 0 , ( numberOfPeriods * oscillationPeriod ) ]
463+ let tSpan = [ 0 , ( numberOfPeriods * oscillationPeriod ) ] ;
464464
465465 let options = {
466466
@@ -598,7 +598,7 @@ <h2>Notes:</h2>
598598
599599 }
600600
601- } ,
601+ }
602602
603603 }
604604
@@ -622,7 +622,7 @@ <h2>Notes:</h2>
622622
623623 }
624624
625- }
625+ } ;
626626
627627 let yt = {
628628
@@ -642,7 +642,7 @@ <h2>Notes:</h2>
642642
643643 }
644644
645- }
645+ } ;
646646
647647 let xy = {
648648
@@ -662,7 +662,7 @@ <h2>Notes:</h2>
662662
663663 }
664664
665- }
665+ } ;
666666
667667 let xy0 = {
668668
@@ -686,11 +686,11 @@ <h2>Notes:</h2>
686686
687687 width : 2 ,
688688
689- dash : 'solid' ,
689+ dash : 'solid'
690690
691- } ,
691+ }
692692
693- } ,
693+ }
694694
695695 } ;
696696
@@ -718,11 +718,11 @@ <h2>Notes:</h2>
718718
719719 function solveFoucaultSystem ( graphType , latitude , length , numberOfPeriods , initialAngle ) {
720720
721- let latitudeNumber = Number ( latitude )
721+ let latitudeNumber = Number ( latitude ) ;
722722
723723 if ( ! latitude || isNaN ( latitudeNumber ) || latitudeNumber < - 90 || latitudeNumber > 90 || / ^ - ? \d + ( \. \d { 1 , 2 } ) ? $ / . test ( latitude ) === false || ( latitudeNumber >= extendedData . BOUNDS_LIMIT [ 0 ] && latitudeNumber <= extendedData . BOUNDS_LIMIT [ 1 ] ) ) {
724724
725- $ ( "#modalbox-errors-warnings-id" ) . html ( "La latitude saisie est invalide." )
725+ $ ( "#modalbox-errors-warnings-id" ) . html ( "La latitude saisie est invalide." ) ;
726726
727727 return false ;
728728
@@ -738,7 +738,7 @@ <h2>Notes:</h2>
738738
739739 let periodOfOscillation = getPeriodOfOscillation ( length ) ;
740740
741- let x0 = getX0 ( initialAngle , length )
741+ let x0 = getX0 ( initialAngle , length ) ;
742742
743743 let omega = getOmega ( latitude ) ;
744744
@@ -858,7 +858,7 @@ <h2>Notes:</h2>
858858
859859 else $ ( "#foucault-btn-id" ) . html ( '<i class="fa-solid fa-flask"></i> Simuler un pendule de Foucault' ) ;
860860
861- $ ( "#foucault-btn-id" ) . attr ( 'onclick' , `$('#modalbox-foucault').css('display', 'block'); $('.overlay').css('display', 'block');` )
861+ $ ( "#foucault-btn-id" ) . attr ( 'onclick' , `$('#modalbox-foucault').css('display', 'block'); $('.overlay').css('display', 'block');` ) ;
862862
863863 setCorrectButtonOnMobileInModalbox ( ) ;
864864
0 commit comments