Skip to content
Snippets Groups Projects
Commit dcd05fc8 authored by rswindell's avatar rswindell
Browse files

Fix the typos.

parent ad6d7b26
Branches
Tags
No related merge requests found
......@@ -927,17 +927,17 @@ Frame.prototype.clear = function (attr) {
this.home();
this.invalidate();
}
Frame.prototype.erase(ch, attr) {
Frame.prototype.erase = function(ch, attr) {
if(attr == undefined)
attr = this.attr;
var px = this.__position__.offset.x;
var py = this.__position__.offset.y;
for(var y = 0; y< this.height; y++) {
if(!this__properties.data[py + y]) {
if(!this.__properties__.data[py + y]) {
continue;
}
for(var x = 0; x<this.width: x++) {
if(!this__properties.data[py + y][px + x]) {
for(var x = 0; x<this.width; x++) {
if(!this.__properties__.data[py + y][px + x]) {
continue;
}
if((this.__properties__.data[py + y][px + x].ch === undefined ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment