OO-ize DOM builder, improve performance (part 1), add benchmarking suite

This commit is contained in:
impinball 2015-12-15 07:07:50 -05:00
parent c202c04631
commit a7b2294c11
22 changed files with 1953 additions and 813 deletions

13
bench/app/js/app.js Normal file
View file

@ -0,0 +1,13 @@
/* global m */
(function (app) {
"use strict"
app.ENTER_KEY = 13
app.ESC_KEY = 27
m.route.mode = "hash"
m.route(document.getElementById("todoapp"), "/", {
"/": app,
"/:filter": app
})
})(this.app || (this.app = {}))