* Not much ... few minor changes

This commit is contained in:
Bryan Ashby 2015-08-26 23:04:04 -06:00
parent 9442760679
commit 3be271aab5
6 changed files with 84 additions and 7 deletions

View file

@ -521,7 +521,11 @@ ViewController.prototype.loadFromPromptConfig = function(options, cb) {
ViewController.prototype.loadFromMenuConfig = function(options, cb) {
assert(_.isObject(options));
assert(_.isObject(options.mciMap));
if(!_.isObject(options.mciMap)) {
cb(new Error('Missing option: mciMap'));
return;
}
var self = this;
var formIdKey = options.formId ? options.formId.toString() : '0';