mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-29 19:10:11 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a70605f742
commit
6869296129
5
diff.js
5
diff.js
@ -36,7 +36,7 @@ var MIN_TEXT_LENGTH = 100
|
|||||||
// open candidates:
|
// open candidates:
|
||||||
// ig-diff
|
// ig-diff
|
||||||
// cdiff
|
// cdiff
|
||||||
// pattern diff
|
// pattern-diff
|
||||||
// we need the name to be short and descriptive, possible
|
// we need the name to be short and descriptive, possible
|
||||||
// candidates:
|
// candidates:
|
||||||
// - objdiff / object-diff
|
// - 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, ...
|
// XXX ADJACENT(A, B, ..) == L iff A directly before B, B directly before C, ...
|
||||||
var ADJACENT =
|
var ADJACENT =
|
||||||
module.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){
|
__cmp__: function(obj, cmp){
|
||||||
// XXX
|
// 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 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
|
// XXX this is a potential problem as it would require us to look ahead
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user