make getNewLineCharacter errorproof
This commit is contained in:
parent
27dd31cf62
commit
40563347e9
1 changed files with 6 additions and 6 deletions
|
|
@ -147,7 +147,7 @@ var Document = function(text) {
|
||||||
case "unix":
|
case "unix":
|
||||||
return "\n";
|
return "\n";
|
||||||
|
|
||||||
case "auto":
|
default:
|
||||||
return this.$autoNewLine;
|
return this.$autoNewLine;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue