Comparing version 0.4.1 to 0.5.0
@@ -5,6 +5,6 @@ { | ||
"author": "Damon Oehlman <damon.oehlman@gmail.com>", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"tape": "~2.3.0" | ||
"tape": "~2.4.2" | ||
}, | ||
@@ -11,0 +11,0 @@ "repository": { |
@@ -235,2 +235,9 @@ # cog | ||
### throttle(fn, delay) | ||
A cherry-pickable throttle function. Used to throttle `fn` to ensure | ||
that it can be called at most once every `delay` milliseconds. Will | ||
fire first event immediately, ensuring the next event fired will occur | ||
at least `delay` milliseconds after the first, and so on. | ||
## License(s) | ||
@@ -240,3 +247,3 @@ | ||
Copyright (c) 2013 Damon Oehlman <damon.oehlman@gmail.com> | ||
Copyright (c) 2014 Damon Oehlman <damon.oehlman@gmail.com> | ||
@@ -243,0 +250,0 @@ Permission is hereby granted, free of charge, to any person obtaining |
@@ -5,2 +5,3 @@ require('./defaults'); | ||
require('./logger'); | ||
require('./jsonparse'); | ||
require('./jsonparse'); | ||
require('./throttle'); |
30954
24
673
266