lib/card.js
function (params, state, cb) {
                  state = state || {};

                  if (Card.getCardData) {
                    Card.getCardData(params, state, function (err, viewModel, clientLocals) {
                      cb(err, params, state, viewModel, clientLocals);
                    });
                  }
                  else {
                    cb(null, params, state, null, null);
                  }
                }
function (params, state, cb) {
                  state = state || {};

                  if (Card.getCardData) {
                    Card.getCardData(params, state, function (err, viewModel, clientLocals) {
                      cb(err, params, state, viewModel, clientLocals);
                    });
                  }
                  else {
                    cb(null, params, state, null, null);
                  }
                }
function ( params , state , cb ) { state = state || { } ; if ( Card . getCardData ) { Card . getCardData ( params , state , function ( err , viewModel , clientLocals ) { cb ( err , params , state , viewModel , clientLocals ) ; } ) ; } else { cb ( null , params , state , null , null ) ; } }
get view model data from the card
get view model data from the card