1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 11:04:00 +03:00

Split things out into temporaries for debugging.

This commit is contained in:
Rob Rix 2015-10-21 16:23:25 -04:00
parent b0bd628c4f
commit 6a515d917d

View File

@ -131,7 +131,10 @@
<script type="text/javascript">
loadJSON('diff.json', function (json) {
console.log(json.diff);
document.getElementById("diff").appendChild(toDOM(diff(json.diff, json.a, json.b)));
var model = diff(json.diff, json.a, json.b);
var dom = toDOM(model);
var root = document.getElementById("diff");
root.appendChild(dom);
});
</script>
</body>