Commit Graph

5 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
9019823501 Merge branch 'master' into types-2.0-2016-08-10 2016-08-10 16:17:43 -07:00
ScottSWu
2fb8651931 Add additional patch methods in jsdiff
* Add `IUniDiff` struct, representing a unified diff
* Add `IHunk` struct, representing a section of modified lines and context
* Fix `createPatch` optional `options` argument
* Fix `applyPatch` to accept either a patch string, IUniDiff or IUniDiff array
* Add `createTwoFilesPatch`, `structuredPatch` and `applyPatches`
* Add test code for these new functions
2016-08-09 16:21:39 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
vvakame
8fd7ae8196 improve diff-tests.ts 2014-04-10 19:07:43 +09:00
vvakame
d3dd12701c add diff/diff.d.ts 2014-04-10 18:59:19 +09:00