TxSSC/Card-Catalog — pull request #6 by vanetix (2012-08-14 16:27:29+00:00)
Title: Object literal plugins/cards

###Cards can still be `Card` children, but can now also be object literals.
####Example
```
module.exports = {
'name': 'Example',
'slug': 'example',

'router': {
'get': {
'/': 'index'
}
},

'events': {
'error': function(obj) {
console.error(obj);
}
},

'index': function(req, res) {
res.writeHead(200, { 'Content-Type': 'application/json' });
res.end(JSON.stringify({ "message": "Hello world!" }));
}
};
```