Skip to content
Snippets Groups Projects
Commit 14930087 authored by deuce's avatar deuce
Browse files

Fix getter usage... I thought Cyan already did all this.

parent 0efec10b
No related branches found
No related tags found
No related merge requests found
......@@ -1441,7 +1441,7 @@ function History() {
this.addline=History_addline;
this.index=-1;
this.incomplete="";
this.next getter=function() {
this.__defineGetter("next", function() {
if(this.index==null) {
this.index=this.line.length;
}
......@@ -1453,8 +1453,8 @@ function History() {
else {
return this.line[this.index];
}
}
this.previous getter=function() {
});
this.__defineGetter("previous", function() {
if(this.index==null) {
this.index=this.line.length;
}
......@@ -1463,7 +1463,7 @@ function History() {
this.index=0;
}
return this.line[this.index];
}
});
}
function History_addline(line) {
......
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