Commit b4446dcd authored by Alex Beregszaszi's avatar Alex Beregszaszi

Use consistent naming in storage

parent 705d465a
'use strict'
function Storage () {
this.exists = function (key) {
return !!this.get(key)
this.exists = function (name) {
return !!this.get(name)
}
this.get = function (key) {
return window.localStorage.getItem(key)
this.get = function (name) {
return window.localStorage.getItem(name)
}
this.set = function (key, content) {
window.localStorage.setItem(key, content)
this.set = function (name, content) {
window.localStorage.setItem(name, content)
}
this.keys = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment