Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
break long line into two statements
  • Loading branch information
richvdh committed Aug 16, 2016
1 parent 89d8133 commit 9925b32
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/store/session/webstorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ WebStorageSessionStore.prototype = {
},

getEndToEndInboundGroupSession: function(senderKey, sessionId) {
return this.store.getItem(keyEndToEndInboundGroupSession(senderKey, sessionId));
var key = keyEndToEndInboundGroupSession(senderKey, sessionId);
return this.store.getItem(key);
},

storeEndToEndInboundGroupSession: function(senderKey, sessionId, pickledSession) {
return this.store.setItem(keyEndToEndInboundGroupSession(senderKey, sessionId),
pickledSession);
var key = keyEndToEndInboundGroupSession(senderKey, sessionId);
return this.store.setItem(key, pickledSession);
},

/**
Expand Down

0 comments on commit 9925b32

Please sign in to comment.