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:
parent
b0bd628c4f
commit
6a515d917d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user