Skip to content

Commit d58f96c

Browse files
committed
Fix merge conflict
2 parents c91f7b8 + d9792e8 commit d58f96c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎js/script.js‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,17 +1030,13 @@ function loadEditorContents(content, path = null, saved = true) {
10301030
// compartment contents so the next setEditorLanguageForPath call
10311031
// can correctly skip a no-op reconfigure.
10321032
editorLanguagePath = path;
1033-
<<<<<<< HEAD
1034-
unchanged = editor.state.doc.length;
1035-
unchangedPath = path;
1036-
=======
10371033
unchanged = saved === true ? editor.state.doc.length : saved === false ? 0 : saved;
1034+
unchangedPath = path;
10381035
const activeTab = getActiveTab();
10391036
if (activeTab) {
10401037
activeTab.editorState = editor.state;
10411038
activeTab.unchanged = unchanged;
10421039
}
1043-
>>>>>>> d404fa5ded26121b555568775942720469143d4a
10441040
//console.log("doc length", unchanged);
10451041
}
10461042

0 commit comments

Comments
 (0)