fix typo
This commit is contained in:
parent
c73e2c1c8d
commit
3c4157a09a
1 changed files with 2 additions and 2 deletions
|
|
@ -293,7 +293,7 @@ var Document = function(text, mode) {
|
||||||
|
|
||||||
this.getScreenWidth = function() {
|
this.getScreenWidth = function() {
|
||||||
this.$computeWidth();
|
this.$computeWidth();
|
||||||
return this.screenWith;
|
return this.screenWidth;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.$computeWidth = function() {
|
this.$computeWidth = function() {
|
||||||
|
|
@ -316,7 +316,7 @@ var Document = function(text, mode) {
|
||||||
longestScreenLine = Math.max(longestScreenLine, len);
|
longestScreenLine = Math.max(longestScreenLine, len);
|
||||||
}
|
}
|
||||||
this.width = longestLine;
|
this.width = longestLine;
|
||||||
this.screenWith = longestScreenLine;
|
this.screenWidth = longestScreenLine;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue