mirror of
https://github.com/ryanamay/pint.git
synced 2024-09-20 01:50:34 +00:00
uhhhhh
This commit is contained in:
parent
662c79e761
commit
479f34cd4d
1 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
/**
|
/**
|
||||||
* Set a key and autoreload
|
* Set a key and autoreload
|
||||||
* @param {string} setting - setting to update
|
* @param {string} setting - setting to update
|
||||||
* @param {string} value - Color to replace the current color with
|
|
||||||
*/
|
*/
|
||||||
export function pintSet(setting, value) {
|
export function pintSet(setting, value) {
|
||||||
var pintKey = {};
|
var pintKey = {};
|
||||||
|
@ -26,7 +25,6 @@ export function pintSetNoReload(setting, value) {
|
||||||
/**
|
/**
|
||||||
* Gets a setting and calls it back (normally used for react useState)
|
* Gets a setting and calls it back (normally used for react useState)
|
||||||
* @param {string} setting - get this setting
|
* @param {string} setting - get this setting
|
||||||
* @param {string} func - Function to Callback
|
|
||||||
*/
|
*/
|
||||||
export function pintGetUpdate(setting, func) {
|
export function pintGetUpdate(setting, func) {
|
||||||
chrome.storage.local.get([`${setting}`], function (result) {
|
chrome.storage.local.get([`${setting}`], function (result) {
|
||||||
|
|
Loading…
Reference in a new issue