Comparing version 0.1.1 to 0.2.0
@@ -61,4 +61,12 @@ 'use strict'; | ||
function release(fn){ | ||
assert(isFunction(fn), 'Only functions can be captured'); | ||
assert(isExtensible(fn), 'Only extensible functions can be captured'); | ||
runtimes.delete(fn); | ||
} | ||
lastRun.capture = capture; | ||
lastRun.release = release; | ||
module.exports = lastRun; |
{ | ||
"name": "last-run", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Capture and retrieve the last time a function was run", | ||
@@ -5,0 +5,0 @@ "author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com)", |
5070
51