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
const meditaionVideoData = { | |
morning: ['https://www.youtube.com/watch?v=wnusFbC0E80', 'https://www.youtube.com/watch?v=L-ecrmgzdGc', 'https://www.youtube.com/watch?v=fH3N7GTFDkw', 'https://www.youtube.com/watch?v=9Uk_w-r7zv4', 'https://www.youtube.com/watch?v=3RZ8n86CmJg', 'https://www.youtube.com/watch?v=xmKhN63yCPw&vl=en', 'https://www.youtube.com/watch?v=GneKaqMdKyk', 'https://www.youtube.com/watch?v=WYP_W49o1vQ', 'https://www.youtube.com/watch?v=-ZfC7FWjscc'], | |
day:['https://www.youtube.com/watch?v=ZToicYcHIOU'], | |
evening: ['https://www.youtube.com/watch?v=4jqGrF3Zqtg', "https://m.youtube.com/watch?v=aEqlQvczMJQ", "https://m.youtube.com/watch?v=bG3AcN-XOrw", "https://m.youtube.com/watch?v=qy8PKKwbjM0"]} | |
const ui = new UITable(); | |
const row = new UITableRow() | |
const buttonRow = new UITableRow(); | |
const button= buttonRow.addButton("MEDITATE NOW") |
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
const meditaionVideoData = { | |
morning: ['https://www.youtube.com/watch?v=wnusFbC0E80', 'https://www.youtube.com/watch?v=L-ecrmgzdGc', 'https://www.youtube.com/watch?v=fH3N7GTFDkw', 'https://www.youtube.com/watch?v=9Uk_w-r7zv4', 'https://www.youtube.com/watch?v=3RZ8n86CmJg', 'https://www.youtube.com/watch?v=xmKhN63yCPw&vl=en', 'https://www.youtube.com/watch?v=GneKaqMdKyk', 'https://www.youtube.com/watch?v=WYP_W49o1vQ', 'https://www.youtube.com/watch?v=-ZfC7FWjscc'], | |
day:['https://www.youtube.com/watch?v=ZToicYcHIOU'], | |
evening: ['https://www.youtube.com/watch?v=4jqGrF3Zqtg', "https://m.youtube.com/watch?v=aEqlQvczMJQ", "https://m.youtube.com/watch?v=bG3AcN-XOrw", "https://m.youtube.com/watch?v=qy8PKKwbjM0"]} | |
const ui = new UITable(); | |
const row = new UITableRow() | |
const buttonRow = new UITableRow(); | |
const button= buttonRow.addButton("MEDITATE NOW") |
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
const fetchMachine = Machine({ | |
id: 'fetch', | |
initial: 'initialising', | |
context: { | |
retries: 0 | |
}, | |
states: { | |
initialising: { | |
on: { | |
ASK_FOR_PERMISSIONS: 'awaitingPermissions' |