Permalink
Commits on Jul 20, 2011
  1. Updated node engine to >=0.4.0

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

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

    …e hook creation method #hook
    bnoguchi 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.
    bnoguchi committed Jun 14, 2011
  5. Version bump to v0.1.8

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

    bnoguchi 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.
    bnoguchi committed Jun 7, 2011
Commits on Jun 3, 2011
  1. Version bump to v0.1.6

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

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

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

    bnoguchi 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.
    bnoguchi committed May 22, 2011
  4. Version bump to v0.1.4

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

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

    bnoguchi 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.
    bnoguchi committed May 22, 2011
Commits on May 21, 2011
Commits on Mar 25, 2011
  1. Version bump to v0.1.1

    bnoguchi committed Mar 25, 2011
  2. Fixed typo in README

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

    bnoguchi committed Feb 23, 2011
  2. Updated README

    bnoguchi committed Feb 23, 2011
  3. Modified old spec implementation to the new spec. Moved alternative i…

    …mplementation from last commit into its own file hooks.alt.js
    bnoguchi committed Feb 23, 2011
  4. Created alternate implementation for new spec. Updated tests for new …

    …hooks spec. Updated README for new spec.
    bnoguchi committed Feb 23, 2011
Commits on Feb 19, 2011
  1. Updated the README to include features for arguments mutation and var…

    …iable argument length handling.
    bnoguchi committed Feb 19, 2011