lib/card.js
function (err, html) {
                if (!err) {
                  callback && callback(null, html);
                }
                else {
                  console.log('CARD: Error rendering HashDo card ' + options.packName + '-' + options.cardName + '.', err);
                  callback && callback(err.message || err);
                }
              }
function (err, html) {
                if (!err) {
                  callback && callback(null, html);
                }
                else {
                  console.log('CARD: Error rendering HashDo card ' + options.packName + '-' + options.cardName + '.', err);
                  callback && callback(err.message || err);
                }
              }
function ( err , html ) { if ( ! err ) { callback && callback ( null , html ) ; } else { console . log ( 'CARD: Error rendering HashDo card ' + options . packName + '-' + options . cardName + '.' , err ) ; callback && callback ( err . message || err ) ; } }
done - respond with HTML
done - respond with HTML