Skip to content
Snippets Groups Projects
Commit 972084a4 authored by echicken's avatar echicken :chicken:
Browse files

Remove weird ugly object literal notation.

parent 131b0153
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -216,37 +216,37 @@ load('tree.js'); ...@@ -216,37 +216,37 @@ load('tree.js');
var Typeahead = function (options) { var Typeahead = function (options) {
var properties = { var properties = {
'x' : 0, x: 0,
'y' : 0, y: 0,
'len' : console.screen_columns, len: console.screen_columns,
'height' : 0, height: 0,
'prompt' : '', prompt: '',
'fg' : LIGHTGRAY, fg: LIGHTGRAY,
'bg' : BG_BLUE, bg: BG_BLUE,
'sfg' : LIGHTGRAY, sfg: LIGHTGRAY,
'sbg' : BG_BLUE, sbg: BG_BLUE,
'hsfg' : WHITE, hsfg: WHITE,
'hsbg' : BG_CYAN, hsbg: BG_CYAN,
'cursor' : ascii(219), cursor: ascii(219),
'position' : 0, position: 0,
'text' : '', text: '',
'datasources' : [], datasources: [],
'delay' : 1, delay: 1,
'minLength' : 1, minLength: 1,
'lastKey' : system.timer, lastKey: system.timer,
'suggested' : false, suggested: false,
'attr' : console.attributes, attr: console.attributes,
'focus' : true, focus: true,
'maxResults': 0, maxResults: 0,
}; };
var display = { var display = {
'parentFrame' : undefined, parentFrame: undefined,
'frame' : undefined, frame: undefined,
'inputFrame' : undefined, inputFrame: undefined,
'cursor' : undefined, cursor: undefined,
'treeFrame' : undefined, treeFrame: undefined,
'tree' : undefined tree: undefined
}; };
function initSettings() { function initSettings() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment