Added default value for Device List active tabs.

This commit is contained in:
Gunther Brunner
2014-05-14 19:30:30 +09:00
parent 13529d36c0
commit 6ce41e0128
2 changed files with 5 additions and 0 deletions

View File

@@ -47,6 +47,10 @@ module.exports = function SettingsServiceFactory($localForage) {
return $localForage.bind.apply($localForage, arguments)
}
SettingsService.driver = function () {
return $localForage.driver.apply($localForage, arguments) + ' with memory cache'
}
SettingsService.clear = function () {
memoryData = Object.create(null)
return $localForage.clear.apply($localForage, arguments)