mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
Call out to patch/syntax when processing a diff.
This commit is contained in:
parent
f5380548e2
commit
61eff92eff
@ -75,6 +75,11 @@
|
||||
if (json instanceof Array) { return indexed(json); }
|
||||
if (json instanceof Object) { return keyed(json); }
|
||||
}
|
||||
|
||||
function diff(json) {
|
||||
if (json["pure"] != null) { return patch(json["pure"]); }
|
||||
if (json["roll"] != null) { return syntax(json["roll"]); }
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user