mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 10:30:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f6d04cd54b
commit
5404d4880b
7
diff.js
7
diff.js
@ -84,7 +84,7 @@ var zip = function(func, ...arrays){
|
||||
: [] }
|
||||
|
||||
|
||||
// get common chunks (LCS)...
|
||||
// Get common chunks (LCS)...
|
||||
//
|
||||
// Format:
|
||||
// [
|
||||
@ -168,6 +168,10 @@ var getCommonSections = function(A, B, cmp, min_chunk){
|
||||
}
|
||||
|
||||
|
||||
// Get diff sections...
|
||||
//
|
||||
// This is the reverse of getCommonSections(..)
|
||||
//
|
||||
// Format:
|
||||
// [
|
||||
// [
|
||||
@ -383,6 +387,7 @@ var partHandlers = {
|
||||
//
|
||||
// XXX might be a good idea to add sub-section splicing, i.e. sub-arrays
|
||||
// and not just rely on item-level...
|
||||
// XXX feels over complicated -- revise...
|
||||
var Types = Object.assign(
|
||||
new Map([
|
||||
['Basic',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user