* Added the graphic of the equation
* Added an explanation of each parameter
* Included the minTimeout in the equation
Changed retryOperation.try() to retryOperation.attempt(). Deprecated …
…the aliases start() and try() for it.
adding changelog to readme
adding start() alias for try()
changing install instructions, whoops
adding attempts() function and parameter to retryOperation.try() repr…
…esenting the number of attempts it took to call fn()
add installation instructions
minor test fixes
Merge pull request #1 from felixge/master
Reviewed & re-factored node-retry
Fix wolfram alpha example
Rename times -> retries
This way it is more clear that you specify the number of retries,
rather than the total amount of operations.
Also added a test case for this as there was none so far.
Remove useless code
factor^0 is always 1 so minTimeout works without this check
Implement "make test" using far
Also add 'fake' as a dev dependency
Ignore node_modules in git
Handled by npm
Copy timeouts array, don't reference it
Simplify logic by making timeouts() accept arrays
Simplify timeouts tests by calling the right fn
Simplify setTimeout using bind() in a useful way
Remove useless randomize code
Coding style / white space
Unix files have newline endings
Fix testRetry test case
Return last error when count equal
operation.mainError() should return a reference
Also optimized the algorithm so that only one iteration over all errors
tests for try and retry
timeout refactorings and tests
refactorings and adding tests for timeouts
Merge branch 'felix'
Merge remote branch 'tim/master'