* Some notes

This commit is contained in:
Bryan Ashby 2015-05-12 23:23:22 -06:00
parent 2aa43295e3
commit 767319e234
2 changed files with 9 additions and 0 deletions

View File

@ -508,6 +508,9 @@ ViewController.prototype.loadFromMenuConfig = function(options, cb) {
}); });
}, },
function applyViewConfiguration(callback) { function applyViewConfiguration(callback) {
//
// :TODO: need to merge configs from menu -> theme (specific) -> theme (default) -> defaults
if(_.isObject(formConfig)) { if(_.isObject(formConfig)) {
self.applyViewConfig(formConfig, function configApplied(err, info) { self.applyViewConfig(formConfig, function configApplied(err, info) {
initialFocusId = info.initialFocusId; initialFocusId = info.initialFocusId;

View File

@ -6,6 +6,12 @@
"defaults" : { "defaults" : {
"general" : { "general" : {
"passwordChar" : "φ" "passwordChar" : "φ"
},
"views" : {
// :TODO: This should apply - by default - to all ToggleMenu's unless overridden elsewhere
"TM" : {
"styleSGR1" : "|00|30|01"
}
} }
}, },
"menus" : { "menus" : {