This commit is contained in:
Rob Garrison 2019-04-16 05:14:41 -05:00
parent 94a940f933
commit bb64acbef3

View File

@ -231,14 +231,6 @@
API_METHODS[json.usercssData ? 'installUsercss' : 'installStyle'](newStyle) : API_METHODS[json.usercssData ? 'installUsercss' : 'installStyle'](newStyle) :
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() { function schedule() {