Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 269 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 269 Bytes

Tx-Diff


Registers changes on a line by line bases and can apply those changes elsewhere.

Get Changes

let diff = new diffLib.getDiff(oldText, newText)

Apply Changes

let newText = diffLib.applyChanges(diff, oldText)