DO NOT BREAK CONCORDE
This commit is contained in:
parent
f4b5a13855
commit
2f006d2a5a
1 changed files with 121 additions and 121 deletions
|
|
@ -86,7 +86,7 @@ var EditSession = function(text, mode) {
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (text instanceof Document) {
|
if (typeof text == "object") {
|
||||||
this.setDocument(text);
|
this.setDocument(text);
|
||||||
} else {
|
} else {
|
||||||
this.setDocument(new Document(text));
|
this.setDocument(new Document(text));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue