mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Improve docstrings
This commit is contained in:
parent
de7eb07d08
commit
0630412c6f
1 changed files with 2 additions and 2 deletions
|
@ -1276,14 +1276,14 @@ export async function getAsync(
|
|||
}
|
||||
|
||||
/*
|
||||
* Replaces the sync storage with your current userconfig. Does not merge: it overwrites.
|
||||
* Replaces the configuration in your sync storage with your current configuration. Does not merge: it overwrites.
|
||||
*/
|
||||
export async function push() {
|
||||
return browser.storage.sync.set(await browser.storage.local.get(CONFIGNAME))
|
||||
}
|
||||
|
||||
/*
|
||||
* Replaces the local storage with your sync storage. Does not merge: it overwrites.
|
||||
* Replaces the local configuration with the configuration from your sync storage. Does not merge: it overwrites.
|
||||
*/
|
||||
export async function pull() {
|
||||
return browser.storage.local.set(await browser.storage.sync.get(CONFIGNAME))
|
||||
|
|
Loading…
Add table
Reference in a new issue