From bb64acbef3f95bfe4ffc0407d15918a524f26a55 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Tue, 16 Apr 2019 05:14:41 -0500 Subject: [PATCH] Clean up --- background/update.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/background/update.js b/background/update.js index 328c8611..60be0ba1 100644 --- a/background/update.js +++ b/background/update.js @@ -231,14 +231,6 @@ API_METHODS[json.usercssData ? 'installUsercss' : 'installStyle'](newStyle) : newStyle; } - - function styleJSONseemsValid(json) { - return json - && json.sections - && json.sections.length - && typeof json.sections.every === 'function' - && typeof json.sections[0].code === 'string'; - } } function schedule() {