Comparing version 0.1.0 to 0.1.1
@@ -126,9 +126,9 @@ // Load modules | ||
if (result) { | ||
if (result.toCache && typeof result.toCache === 'function') { | ||
value = result.toCache(); | ||
if (value) { | ||
if (value.toCache && typeof value.toCache === 'function') { | ||
value = value.toCache(); | ||
} | ||
if (result.getTtl && typeof result.getTtl === 'function') { | ||
ttl = result.getTtl(); | ||
if (value.getTtl && typeof value.getTtl === 'function') { | ||
ttl = value.getTtl(); | ||
} | ||
@@ -135,0 +135,0 @@ } |
{ | ||
"name": "catbox", | ||
"description": "Multi-strategy object caching service", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "contributors":[ |
211571