Revert "Revert "More performance improvements + etc.""
This commit is contained in:
parent
897060d6ed
commit
b2faa43f91
28 changed files with 3207 additions and 1326 deletions
13
bench/app/js/app.js
Normal file
13
bench/app/js/app.js
Normal 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 = {}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue