* WIP ViewController.loadFromMCIMapAndConfig()

This commit is contained in:
Bryan Ashby 2015-03-27 18:02:00 -06:00
parent cca9334bd3
commit 8c9b0e729f
5 changed files with 96 additions and 9 deletions

View file

@ -85,9 +85,9 @@ function getFormConfig(menuConfig, mciMap, cb) {
function filtered(form) {
if(form.length > 0) {
assert(1 === form.length);
cb(form[0]);
cb(null, form[0]);
} else {
cb(null);
cb(new Error('No matching form configuration found'));
}
}
);