Skip to content

Commit

Permalink
Added weightedSize to BoundlessCache
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed Jun 15, 2017
1 parent 2458695 commit 1d71d1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cache/boundless.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ class BoundlessCache {
return this[DATA].values.size;
}

get weightedSize() {
return this.size;
}

/**
* Cache and associate a value with the given key.
*/
Expand Down

0 comments on commit 1d71d1c

Please sign in to comment.