This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://medium.com/javascript-in-plain-english/clean-up-your-code-by-removing-if-else-statements-31102fe3b083 | |
/** | |
* Button click event | |
* @param {number} status | |
* Activity status: 1 in progress, 2 in failure, 3 out of stock, 4 in success, 5 system cancelled | |
*/ | |
const onButtonClick = (status)=>{ | |
if(status == 1){ | |
sendLog('processing') | |
jumpTo('IndexPage') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"theme": "elegant" | |
}, | |
"basics": { | |
"name": "Elan Trybuch", | |
"label": "Lead Front End Engineer", | |
"picture": "https://avatars1.githubusercontent.com/u/710847?s=460&v=4", | |
"email": "elan@trybuch.com", | |
"phone": "(646) 801-8275", |