fix regression
This commit is contained in:
parent
6068e039b2
commit
5a98124d47
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ var Document = function(text) {
|
|||
* Get a verbatim copy of the given line as it is in the document
|
||||
*/
|
||||
this.getLine = function(row) {
|
||||
return this.$lines[row] || "";
|
||||
return this.$lines ? (this.$lines[row] || "") : "";
|
||||
};
|
||||
|
||||
this.getLines = function(firstRow, lastRow) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue