manual lint
This commit is contained in:
parent
1654234e32
commit
1c53ac84cc
36 changed files with 204 additions and 107 deletions
|
|
@ -77,9 +77,15 @@ const LAZY_STYLE_ID = 'pleroma-lazy-styles'
|
|||
|
||||
export const generateTheme = (inputRuleset, callbacks, debug) => {
|
||||
const {
|
||||
onNewRule = () => {},
|
||||
onLazyFinished = () => {},
|
||||
onEagerFinished = () => {},
|
||||
onNewRule = () => {
|
||||
/* no-op */
|
||||
},
|
||||
onLazyFinished = () => {
|
||||
/* no-op */
|
||||
},
|
||||
onEagerFinished = () => {
|
||||
/* no-op */
|
||||
},
|
||||
} = callbacks
|
||||
|
||||
const themes3 = init({
|
||||
|
|
@ -152,8 +158,12 @@ export const tryLoadCache = async () => {
|
|||
|
||||
export const applyTheme = (
|
||||
input,
|
||||
onEagerFinish = () => {},
|
||||
onFinish = () => {},
|
||||
onEagerFinish = () => {
|
||||
/* no-op */
|
||||
},
|
||||
onFinish = () => {
|
||||
/* no-op */
|
||||
},
|
||||
debug,
|
||||
) => {
|
||||
const eagerStyles = createStyleSheet(EAGER_STYLE_ID, 10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue