Added a basic DOM diff algorithm

This commit is contained in:
2017-06-21 18:44:20 +02:00
parent 9bd5e71205
commit b4a4e78c96
6 changed files with 77 additions and 14 deletions

View File

@ -109,6 +109,7 @@ export class Application {
}
setContent(html: string) {
// Diff.innerHTML(this.content, html)
this.content.innerHTML = html
this.ajaxify(this.content)
this.markActiveLinks(this.content)