This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/scripts/variables.js

34 lines
1.3 KiB
JavaScript
Raw Normal View History

2019-08-16 12:05:56 +02:00
/* LES VARIABLES */
2019-08-18 20:06:06 +02:00
/* Messages d'erreur */
const emptyMessageError = "Vous ne pouvez pas rentré de valeur vide.";
2019-08-16 12:05:56 +02:00
const messageError = "Vous n'avez pas rentré de valeur valide.";
2019-08-18 20:06:06 +02:00
/* Varibales pour les fonctions */
2019-08-16 12:05:56 +02:00
let timeNow = new Date();
let utcOffset = timeNow.getTimezoneOffset();
2019-09-13 14:39:29 +02:00
timeNow.setMinutes(timeNow.getMinutes() + utcOffset);
// Variable pour randomQuote
const quotes = [
{
quote: "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.",
source: "Albert Einstein"
},
{
quote:"Be the change that you wish to see in the world.",
source: "Mahatma Gandhi"
},
{
quote:"Vote for the man who promise least, he'll be the least disappointing.",
source:"Bernard Baruch"
},
{
quote:"Hard work beats talent when talent doesn't work hard.",
source:"Tim Notke"
},
{
quote:"You want to wake up in the morning and think the future is going to be great - and that's what being a spacefaring civilization is all about. It's about believing in the future and thinking that the future will be better than the past. And I can't think of anything more exciting than going out there and being among the stars",
source:"Elon Musk, SpaceX"
}
];