jpodwys / cache-service

A tiered caching solution for JavaScript.
MIT License
12 stars 6 forks source link

Moving cacheKey variables to local scope #9

Closed marybeshaw closed 9 years ago

marybeshaw commented 9 years ago

Joe, I am using cache-service in fs-search. It's great! But I ran into a problem with my unit tests. Adding "var" in front of cacheKey in these changes puts cacheKey in local scope, which is a small improvement.

Have a great day! Mary

jpodwys commented 9 years ago

@marybeshaw Good catch! This is available in release 1.0.1. Go ahead and update your package.json pin and npm install.