mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 10:30:09 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8667ece446
commit
469372fa6f
18
diff.js
18
diff.js
@ -614,19 +614,17 @@ object.makeConstructor('OF', Object.assign(new LogicType(), {
|
||||
// // number - array key
|
||||
// // NOTE: this is actually not different
|
||||
// // from a string...
|
||||
// // [
|
||||
// // null | index | [index, length],
|
||||
// // null | index | [index, length],
|
||||
// // ]
|
||||
// // - a set of 2 keys for A and B respectively
|
||||
// // if one of the array items in undefined or
|
||||
// // null then it means that the item does not
|
||||
// // exist in the corresponding array...
|
||||
// // [<key>, <key>]
|
||||
// // - a set of 2 keys for A and B respectively,
|
||||
// // <key> can be one of:
|
||||
// // null - item does not exist.
|
||||
// // index - item index.
|
||||
// // [index, length] - item is a sub-array and
|
||||
// // will replace a section
|
||||
// // of length length.
|
||||
// // if both of the array items are arrays it
|
||||
// // means that we are splicing array sections
|
||||
// // instead of array elements...
|
||||
// // length indicates the size of the spliced
|
||||
// // out section...
|
||||
// // XXX revise docs...
|
||||
// path: [<key>, ...],
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user