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

Remove weird ugly object literal notation.

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