derdesign/protos — pull request #108 by panosru (2012-05-20 15:09:20+00:00)
Title: Nib support for protos

Added [Nib](http://visionmedia.github.com/nib/) support for stylus compiler in protos.

Canvas feature in Nib is not supported because of a [bug](https://github.com/LearnBoost/node-canvas/issues/29) in [canvas](https://github.com/LearnBoost/node-canvas/) module. Once it is fixed I'll add the support for it.

test results:

```
root@dev:/usr/local/lib/node_modules/protos# vows --spec test/middleware/asset_compiler.js

♢ Asset Compiler (middleware)

✓ Forbids access to asset sources
✓ Successfully compiles LESS assets
✓ Successfully compiles Stylus assets
✓ Successfully compiles CoffeeScript assets
✓ Successfully minifies supported assets
✓ Blocks access to minify sources
✓ Watches for source file changes (when enabled)
✓ Does not compile ignored files
✓ LESS @import works as expected
✓ Stylus @import works as expected

✓ OK » 10 honored (1.558s)
```