Clean up
This commit is contained in:
parent
94a940f933
commit
bb64acbef3
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user