This file contains hidden or 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": "Smart Banner Machine", | |
"initial": "idle", | |
"states": { | |
"idle": { | |
"entry": "Close all views", | |
"on": { | |
"new tab event": [ | |
{ | |
"cond": "should show first touch banner", |
This file contains hidden or 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":"extensionView", | |
"initial":"idle", | |
"states":{ | |
"idle":{ | |
"on":{ | |
"SHOW_SMV":{ | |
"target":"singleMerchantView" | |
}, |
This file contains hidden or 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":"extensionView", | |
"initial":"idle", | |
"states":{ | |
"idle":{ | |
"on":{ | |
"SHOW_SMV":{ | |
"target":"singleMerchantView" |