Skip to content

Commit 12a870c

Browse files
committed
Update Readme
1 parent 1206b6b commit 12a870c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# DiffLib
22
---------------
3-
Registers changes on a line by line bases and can apply those changes elsewhere.
3+
Registers changes on a line by line bases and can apply those changes elsewhere.
4+
5+
6+
### Get Changes
7+
8+
```$xslt
9+
let diff = new diffLib.getDiff(oldText, newText)
10+
```
11+
12+
### Apply Changes
13+
```$xslt
14+
let newText = diffLib.applyChanges(diff, oldText)
15+
```

0 commit comments

Comments
 (0)