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
b42b94fa19
commit
4ebe5f96d3
14
diff.js
14
diff.js
@ -46,6 +46,20 @@ var MIN_TEXT_LENGTH = 100
|
|||||||
// ...should be simpler to enter, maybe example-oriented intro
|
// ...should be simpler to enter, maybe example-oriented intro
|
||||||
// - diff visualization -- for example see:
|
// - diff visualization -- for example see:
|
||||||
// https://www.npmjs.com/package/jsondiffpatch
|
// https://www.npmjs.com/package/jsondiffpatch
|
||||||
|
// - experiment with pattern contexts...
|
||||||
|
// a context is essentially a namespace for a pattern within a
|
||||||
|
// specific use instance.
|
||||||
|
// this would enable us to create a settable/linkable named
|
||||||
|
// pattern that would:
|
||||||
|
// - until first successful match use pattern to compare
|
||||||
|
// - set on first successful match
|
||||||
|
// - subsequent matches would compare to the set value
|
||||||
|
//
|
||||||
|
// NAMED(<name>[, pattern])
|
||||||
|
//
|
||||||
|
// this would also require a means to pass the context to
|
||||||
|
// nested patterns...
|
||||||
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user