Commit 944a5863 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Remove unused storage.getFileContent

parent 4d1eeae9
'use strict' 'use strict'
var utils = require('./utils')
function Storage () { function Storage () {
this.rename = function (originalName, newName) { this.rename = function (originalName, newName) {
var content = this.get(originalName) var content = this.get(originalName)
...@@ -13,10 +11,6 @@ function Storage () { ...@@ -13,10 +11,6 @@ function Storage () {
window.localStorage.removeItem(name) window.localStorage.removeItem(name)
} }
this.getFileContent = function (key) {
return this.get(utils.fileKey(key))
}
this.exists = function (key) { this.exists = function (key) {
return !!this.get(key) return !!this.get(key)
} }
......
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