Revert "More performance improvements + etc."
This commit is contained in:
parent
e364121ffb
commit
998704a722
28 changed files with 1325 additions and 3206 deletions
|
|
@ -1,14 +0,0 @@
|
|||
(function (app) {
|
||||
"use strict"
|
||||
|
||||
var STORAGE_ID = "todos-mithril"
|
||||
|
||||
app.storage = {
|
||||
get: function () {
|
||||
return JSON.parse(localStorage.getItem(STORAGE_ID) || "[]")
|
||||
},
|
||||
put: function (todos) {
|
||||
localStorage.setItem(STORAGE_ID, JSON.stringify(todos))
|
||||
}
|
||||
}
|
||||
})(this.app || (this.app = {}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue