clear namespace when removing profile

This commit is contained in:
Ivan Socolsky 2014-12-10 10:49:25 -03:00
commit f5edb12d42
5 changed files with 35 additions and 10 deletions

View file

@ -80,11 +80,7 @@ LocalStorage.prototype.removeItem = function(k, cb) {
};
LocalStorage.prototype.clear = function(cb) {
if (isChromeApp) {
chrome.storage.clear();
} else {
this.ls.clear();
}
// NOP
return cb();
};