Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-07-17 16:02:39 +03:00
parent f6d04cd54b
commit 5404d4880b

View File

@ -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',