From 6869296129baec7e0f253a4b3d93bee58c263fbc Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 7 Sep 2018 11:41:23 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- diff.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/diff.js b/diff.js index 02488a8..bd5f8ef 100644 --- a/diff.js +++ b/diff.js @@ -36,7 +36,7 @@ var MIN_TEXT_LENGTH = 100 // open candidates: // ig-diff // cdiff -// pattern diff +// pattern-diff // we need the name to be short and descriptive, possible // candidates: // - objdiff / object-diff @@ -787,7 +787,7 @@ object.makeConstructor('ORDERED', Object.assign(Object.create(LogicType.prototyp // XXX ADJACENT(A, B, ..) == L iff A directly before B, B directly before C, ... var ADJACENT = module.ADJACENT = -object.makeConstructor('ADJACENT', Object.assign(Object.create(LogicType.prototype), { +Dbject.makeConstructor('ADJACENT', Object.assign(Object.create(LogicType.prototype), { __cmp__: function(obj, cmp){ // XXX }, @@ -796,7 +796,6 @@ object.makeConstructor('ADJACENT', Object.assign(Object.create(LogicType.prototy }, })) - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // XXX OF(A, N) == L iff L contains N occurrences of A // XXX this is a potential problem as it would require us to look ahead