visionmedia/consolidate.js — pull request #80 by ForbesLindesay (2013-01-05 08:08:49+00:00)
Title: Add `then-jade` as an alternative `jade` implementation

`then-jade` is built to be a drop in replacement for `jade`. It is almost identical but for the fact that it supports asynchronous filters. As such it can use any of the consolidate template libraries as filters (in addition to filters for markdown, coffee-script etc.). I've aimed to match what the other libraries do when there's more than one supported implementation. I also left jade as the first one that's looked for as that should suit the majority of people.

It first looks for `jade` then falls back to `then-jade` if `jade` is not found.