Merge pull request #412 from apeckham/patch-1
Fix indentation in Diff2HtmlUI example
This commit is contained in:
commit
d3859b8088
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -269,12 +269,12 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
</head>
|
||||
<script>
|
||||
const diffString = `diff --git a/sample.js b/sample.js
|
||||
index 0000001..0ddf2ba
|
||||
--- a/sample.js
|
||||
+++ b/sample.js
|
||||
@@ -1 +1 @@
|
||||
-console.log("Hello World!")
|
||||
+console.log("Hello from Diff2Html!")`;
|
||||
index 0000001..0ddf2ba
|
||||
--- a/sample.js
|
||||
+++ b/sample.js
|
||||
@@ -1 +1 @@
|
||||
-console.log("Hello World!")
|
||||
+console.log("Hello from Diff2Html!")`;
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
var targetElement = document.getElementById('myDiffElement');
|
||||
|
|
|
|||
Loading…
Reference in a new issue