Use default export
This commit is contained in:
parent
c080b337c7
commit
33e4c44a5e
@ -1,4 +1,4 @@
|
||||
import { MutationQueue } from "./MutationQueue"
|
||||
import MutationQueue from "./MutationQueue"
|
||||
|
||||
export default class Diff {
|
||||
static persistentClasses = new Set<string>()
|
||||
|
@ -8,7 +8,7 @@ const timeCapacity = 6.5
|
||||
// MutationQueue queues up DOM mutations to batch execute them before a frame is rendered.
|
||||
// It checks the time used to process these mutations and if the time is over the
|
||||
// defined time capacity, it will pause and continue the mutations in the next frame.
|
||||
export class MutationQueue {
|
||||
export default class MutationQueue {
|
||||
mutations: Array<() => void>
|
||||
onClearCallBacks: Array<() => void>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user