mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-30 11:28:23 +03:00
Formatting changes
This commit is contained in:
6
SB.js
6
SB.js
@@ -78,8 +78,8 @@ function decodeStoredItem(data) {
|
|||||||
try {
|
try {
|
||||||
let str = JSON.parse(data);
|
let str = JSON.parse(data);
|
||||||
|
|
||||||
if(!Array.isArray(str)) return data;
|
if(!Array.isArray(str)) return data;
|
||||||
return new Map(str);
|
return new Map(str);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
||||||
// If all else fails, return the data
|
// If all else fails, return the data
|
||||||
@@ -115,7 +115,7 @@ function configProxy() {
|
|||||||
},
|
},
|
||||||
|
|
||||||
deleteProperty(obj, prop) {
|
deleteProperty(obj, prop) {
|
||||||
chrome.storage.sync.remove(key);
|
chrome.storage.sync.remove(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user