* Minor JSON -> HJSON config cleanup

* Some logging in telnet server vs console.log()
* Calculate FSE footer position vs hard code it
This commit is contained in:
Bryan Ashby 2015-09-12 17:17:00 -06:00
parent e661b23eca
commit 05f666cf29
10 changed files with 126 additions and 109 deletions

View file

@ -154,13 +154,19 @@ function MenuModule(options) {
this.nextMenu = function() {
if(!_.isObject(self.menuConfig.form) && !_.isString(self.menuConfig.prompt) &&
(_.isString(self.menuConfig.next) || _.isObject(self.menuConfig.next)))
!_.isUndefined(self.menuConfig.next))
{
/*
next : "spec"
'next' may be a simple asset, or a object with next.asset and
extrArgs
next: assetSpec
-or-
next: {
"asset" : "spec",
"extraArgs" : ...
asset: assetSpec
extraArgs: ...
}
*/
if(self.hasNextTimeout()) {