mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-29 02:50:10 +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:
|
// Format:
|
||||||
// [
|
// [
|
||||||
@ -168,6 +168,10 @@ var getCommonSections = function(A, B, cmp, min_chunk){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Get diff sections...
|
||||||
|
//
|
||||||
|
// This is the reverse of getCommonSections(..)
|
||||||
|
//
|
||||||
// Format:
|
// Format:
|
||||||
// [
|
// [
|
||||||
// [
|
// [
|
||||||
@ -383,6 +387,7 @@ var partHandlers = {
|
|||||||
//
|
//
|
||||||
// XXX might be a good idea to add sub-section splicing, i.e. sub-arrays
|
// XXX might be a good idea to add sub-section splicing, i.e. sub-arrays
|
||||||
// and not just rely on item-level...
|
// and not just rely on item-level...
|
||||||
|
// XXX feels over complicated -- revise...
|
||||||
var Types = Object.assign(
|
var Types = Object.assign(
|
||||||
new Map([
|
new Map([
|
||||||
['Basic',
|
['Basic',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user