Skip to content
Snippets Groups Projects
Commit ec224599 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[merge demo] Remove debug code

parent 15609286
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ the <a href="https://code.google.com/p/google-diff-match-patch/">google-diff-mat
library to compute the diffs.</p>
<script>
var value, orig1, orig2, dv, panes = 3, highlight = true, connect = "align", collapse = false;
var value, orig1, orig2, dv, panes = 2, highlight = true, connect = null, collapse = false;
function initUI() {
if (value == null) return;
var target = document.getElementById("view");
......@@ -91,9 +91,6 @@ window.onload = function() {
orig2 = value.replace(/\u003cscript/g, "\u003cscript type=text/javascript ")
.replace("white", "purple;\n font: comic sans;\n text-decoration: underline;\n height: 15em");
initUI();
window.div = document.createElement('div')
window.h = dv.editor().addLineWidget(118, div)
setTimeout(() => { window.div.style.height = "200px"; window.h.changed(); console.log("!", window.h) }, 500)
};
function mergeViewHeight(mergeView) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment