diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -323,9 +323,10 @@ func New() *Node { return me.rootNode } -func PreInit(postMustParse func(string) string) *Node { +// func PreInit(postMustParse func(string) string) *Node { +func PreInit() *Node { initNew() - me.postMustParse = postMustParse + // me.postMustParse = postMustParse return me.rootNode } @@ -333,10 +334,10 @@ func PreInit(postMustParse func(string) string) *Node { // try to load andlabs, if that doesn't work, fall back to the console func (n *Node) Default() (string, error) { var err error - ArgvGui.GuiPlugin = me.postMustParse("DEFAULT") - if me.postMustParse("VERBOSE") == "true" { - INFO.SetBool(true) - } + // ArgvGui.GuiPlugin = me.postMustParse("DEFAULT") + // if me.postMustParse("VERBOSE") == "true" { + INFO.SetBool(true) + // } if ArgvGui.GuiPlugin != "" { log.Log(WARN, "New.Default() try toolkit =", ArgvGui.GuiPlugin) |
