code optimization for removeItem from appStorage

This commit is contained in:
vitorsemeano 2019-03-18 23:16:56 +00:00
parent 0b71b0b493
commit c3c035a7d7

View File

@ -35,7 +35,6 @@ define([], function() {
localStorage.removeItem(name); localStorage.removeItem(name);
if (this.localData) { if (this.localData) {
this.localData[name] = null;
delete this.localData[name]; delete this.localData[name];
updateCache(this); updateCache(this);
} }