Skip to content
Snippets Groups Projects
Commit 6bf64082 authored by mcmlxxix's avatar mcmlxxix
Browse files

syntax is not important

parent a58bf878
Branches
Tags
No related merge requests found
...@@ -16,15 +16,15 @@ Attribute.prototype = { ...@@ -16,15 +16,15 @@ Attribute.prototype = {
get bg() { get bg() {
return (this.value >> 4) & 0x07; return (this.value >> 4) & 0x07;
} },
set bg(val) { set bg(val) {
this.value &= 0x8f; this.value &= 0x8f;
this.value |= ((val << 4) & 0x70); this.value |= ((val << 4) & 0x70);
} },
get fg() { get fg() {
return this.value & 0x0f; return this.value & 0x0f;
} },
set fg(val) { set fg(val) {
this.value &= 0xf0; this.value &= 0xf0;
this.value |= val & 0x0f; this.value |= val & 0x0f;
...@@ -62,7 +62,7 @@ var dk = { ...@@ -62,7 +62,7 @@ var dk = {
* returns false on error. * returns false on error.
* Not available without ANSI * Not available without ANSI
*/ */
gotoxy:function(x,y)() { gotoxy:function(x,y) {
}, },
/* /*
...@@ -124,7 +124,7 @@ var dk = { ...@@ -124,7 +124,7 @@ var dk = {
node:undefined, node:undefined,
dte:undefined, dte:undefined,
error_correcting:true, error_correcting:true,
time:undefined, time:undefined
}, },
user:{ user:{
full_name:undefined, full_name:undefined,
...@@ -161,17 +161,17 @@ var dk = { ...@@ -161,17 +161,17 @@ var dk = {
downloaded_today:undefined, downloaded_today:undefined,
comment:undefined, comment:undefined,
doors_opened:undefined, doors_opened:undefined,
messages_left:undefined, messages_left:undefined
}, },
system:{ system:{
main_dir:undefined, main_dir:undefined,
gen_dir:undefined, gen_dir:undefined,
sysop_name:undefined, sysop_name:undefined,
default_attr:undefined, default_attr:undefined
}, },
misc:{ misc:{
event_time:undefined, event_time:undefined,
record_locking:undefined, record_locking:undefined
}, },
parse_dropfile:function(path) { parse_dropfile:function(path) {
...@@ -179,6 +179,6 @@ var dk = { ...@@ -179,6 +179,6 @@ var dk = {
if (f.open("r")) { if (f.open("r")) {
} }
}(); }
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment