Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.2.0
Commits on Feb 25, 2012
  1. 0.2.0

    authored
  2. Merge pull request #3 from aheckmann/nextTwice

    authored
    fixed calling next() 2x after throwing
Commits on Feb 24, 2012
  1. @aheckmann
Commits on Jul 20, 2011
Commits on Jun 14, 2011
  1. Version bump to v0.1.9

    authored
  2. Made the callback to a method hook the first place to look for an err…

    authored
    …or handler. Otherwise, the fallback is now the error handler you set up in #hook or lazy #pre. After these two options, the final fallback is throwing the Error.
  3. Now, lazy hook creation via #pre can pass an errorHandler along to th…

    authored
    …e hook creation method #hook
  4. Removed last error handler fallback, which makes the error handler th…

    authored
    …e target method. Instead just throw an error if you get to that point.
  5. Version bump to v0.1.8

    authored
  6. Improved error handling, so if it falls back to calling the hook as t…

    authored
    …he error handler, it does so with the object's scope. Throws an error if we reach that fallback check, and the hook's arity is 0.
Commits on Jun 7, 2011
  1. Version bump to v0.1.7

    authored
  2. Now, `next(null)` -- when the target method has a node-like function …

    authored
    …(err, ...) calback as its last argument -- proceeds down the middleware chain without mutating the hook arguments.
Commits on Jun 3, 2011
  1. Version bump to v0.1.6

    authored
  2. Moved the isAsync middleware argument in `pre` and `post` from the 3r…

    authored
    …d to 2nd argument for better readability.
Commits on May 22, 2011
  1. Updated the README.

    authored
  2. Version bump to v0.1.5

    authored
  3. Now each next() and done() only executes its logic once, no matter ho…

    authored
    …w many times it may be called within the same pre or post.
  4. Version bump to v0.1.4

    authored
  5. Verison bump to v0.1.3

    authored
  6. Version bump to v0.1.2

    authored
  7. Class#hook now called lazily when you call Class#pre or Class#post. N…

    authored
    …o longer need to invoke Class#hook yourself.
Commits on May 21, 2011
Commits on Mar 25, 2011
  1. Version bump to v0.1.1

    authored
  2. Fixed typo in README

    authored
Commits on Feb 23, 2011
  1. Version bump to v0.1.0

    authored
  2. Updated README

    authored
Something went wrong with that request. Please try again.