Skip to content

Commit

Permalink
save a line
Browse files Browse the repository at this point in the history
  • Loading branch information
zevero authored Apr 13, 2017
1 parent ef30028 commit b74670b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions extendStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ Got it?
var obj = this.get(key);
if (typeof obj !== "object" || typeof obj_merge !== "object") return null;
Object.assign(obj, obj_merge);
this.set(key,obj);
return obj;
return this.set(key,obj);
};

Storage.prototype.has = window.hasOwnProperty;
Expand Down

0 comments on commit b74670b

Please sign in to comment.