code optimization for removeItem from appStorage
This commit is contained in:
@@ -35,7 +35,6 @@ define([], function() {
|
||||
localStorage.removeItem(name);
|
||||
|
||||
if (this.localData) {
|
||||
this.localData[name] = null;
|
||||
delete this.localData[name];
|
||||
updateCache(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user