Permalink
Commits on Feb 25, 2012
  1. 0.2.0

    committed Feb 25, 2012
  2. Merge pull request #3 from aheckmann/nextTwice

    fixed calling next() 2x after throwing
    committed Feb 25, 2012
Commits on Feb 24, 2012
Commits on Jul 20, 2011
  1. Updated node engine to >=0.4.0

    committed Jul 20, 2011
Commits on Jun 14, 2011
  1. Version bump to v0.1.9

    committed Jun 14, 2011
  2. Made the callback to a method hook the first place to look for an err…

    …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.
    committed Jun 14, 2011
  3. Now, lazy hook creation via #pre can pass an errorHandler along to th…

    …e hook creation method #hook
    committed Jun 14, 2011
  4. Removed last error handler fallback, which makes the error handler th…

    …e target method. Instead just throw an error if you get to that point.
    committed Jun 14, 2011
  5. Version bump to v0.1.8

    committed Jun 14, 2011
  6. Improved error handling, so if it falls back to calling the hook as t…

    …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.
    committed Jun 14, 2011
Commits on Jun 7, 2011
  1. Version bump to v0.1.7

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

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

    committed Jun 3, 2011
  2. Moved the isAsync middleware argument in `pre` and `post` from the 3r…

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

    committed May 22, 2011
  2. Version bump to v0.1.5

    committed May 22, 2011
  3. Now each next() and done() only executes its logic once, no matter ho…

    …w many times it may be called within the same pre or post.
    committed May 22, 2011
  4. Version bump to v0.1.4

    committed May 22, 2011
  5. Verison bump to v0.1.3

    committed May 22, 2011
  6. Version bump to v0.1.2

    committed May 22, 2011
  7. Class#hook now called lazily when you call Class#pre or Class#post. N…

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

    committed Mar 25, 2011
  2. Fixed typo in README

    committed Mar 25, 2011
Commits on Feb 23, 2011
  1. Version bump to v0.1.0

    committed Feb 23, 2011
  2. Updated README

    committed Feb 23, 2011