Skip to content

Commit

Permalink
chore: remove Storage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Sep 1, 2019
1 parent cc4515f commit 278b7dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 66 deletions.
64 changes: 0 additions & 64 deletions src/lib/Storage.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/lib/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Storage from './Storage'
import LocalStore from 'licia/LocalStore'
import logger from './logger'

const configs = {}
Expand All @@ -7,7 +7,7 @@ const config = {
create(name) {
logger.warn('createCfg is deprecated')

if (!configs[name]) configs[name] = new Storage(name)
if (!configs[name]) configs[name] = new LocalStore(name)

return configs[name]
}
Expand Down

0 comments on commit 278b7dd

Please sign in to comment.