Last active
May 18, 2022 21:55
-
-
Save brecert/65a7443f32535acef4e58ed1d4aebba8 to your computer and use it in GitHub Desktop.
revolt2
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
import('https://jspm.dev/localforage') | |
.then(({ default: localForage }) => { | |
localForage.getItem('auth') | |
.then(JSON.stringify) | |
.then(alert) | |
}) |
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
import('https://jspm.dev/localforage') | |
.then(({ default: localForage }) => { | |
localForage.setItem('auth', JSON.parse(prompt('Enter auth here'))) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment