DO NOT BREAK CONCORDE

This commit is contained in:
mikedeboer 2012-05-19 17:24:57 +02:00
commit 2f006d2a5a

View file

@ -86,7 +86,7 @@ var EditSession = function(text, mode) {
return str;
}
if (text instanceof Document) {
if (typeof text == "object") {
this.setDocument(text);
} else {
this.setDocument(new Document(text));