Removed old mutation queue code

This commit is contained in:
2018-03-22 15:52:52 +01:00
parent e46c74d7b9
commit f56df09e36
3 changed files with 2 additions and 52 deletions

View File

@ -1,4 +1,4 @@
import { MutationQueue, CustomMutationQueue } from "./MutationQueue"
import { MutationQueue } from "./MutationQueue"
export class Diff {
static persistentClasses = new Set<string>()
@ -7,7 +7,7 @@ export class Diff {
// Reuse container for diffs to avoid memory allocation
static container: HTMLElement
static rootContainer: HTMLElement
static mutations: CustomMutationQueue = new CustomMutationQueue()
static mutations: MutationQueue = new MutationQueue()
// innerHTML will diff the element with the given HTML string and apply DOM mutations.
static innerHTML(aRoot: HTMLElement, html: string): Promise<void> {