Function
Static Public Summary | ||
public |
Diff() |
|
public |
canonicalize(obj: *, stack: *, replacementStack: *, replacer: *, key: *): * |
|
public |
diffArrays(oldArr: *, newArr: *, callback: *): * |
|
public |
diffChars(oldStr: *, newStr: *, options: *): * |
|
public |
diffCss(oldStr: *, newStr: *, callback: *): * |
|
public |
diffJson(oldObj: *, newObj: *, options: *): * |
|
public |
diffLines(oldStr: *, newStr: *, callback: *): * |
|
public |
diffTrimmedLines(oldStr: *, newStr: *, callback: *): * |
Static Public
public canonicalize(obj: *, stack: *, replacementStack: *, replacer: *, key: *): * source
import {canonicalize} from '@hiherto-elements/diff/diff/json.js'
Params:
Name | Type | Attribute | Description |
obj | * | ||
stack | * | ||
replacementStack | * | ||
replacer | * | ||
key | * |
Return:
* |
public diffArrays(oldArr: *, newArr: *, callback: *): * source
import {diffArrays} from '@hiherto-elements/diff/diff/array.js'
Params:
Name | Type | Attribute | Description |
oldArr | * | ||
newArr | * | ||
callback | * |
Return:
* |
public diffChars(oldStr: *, newStr: *, options: *): * source
import {diffChars} from '@hiherto-elements/diff/diff/character.js'
Params:
Name | Type | Attribute | Description |
oldStr | * | ||
newStr | * | ||
options | * |
Return:
* |
public diffCss(oldStr: *, newStr: *, callback: *): * source
import {diffCss} from '@hiherto-elements/diff/diff/css.js'
Params:
Name | Type | Attribute | Description |
oldStr | * | ||
newStr | * | ||
callback | * |
Return:
* |
public diffJson(oldObj: *, newObj: *, options: *): * source
import {diffJson} from '@hiherto-elements/diff/diff/json.js'
Params:
Name | Type | Attribute | Description |
oldObj | * | ||
newObj | * | ||
options | * |
Return:
* |
public diffLines(oldStr: *, newStr: *, callback: *): * source
import {diffLines} from '@hiherto-elements/diff/diff/line.js'
Params:
Name | Type | Attribute | Description |
oldStr | * | ||
newStr | * | ||
callback | * |
Return:
* |
public diffTrimmedLines(oldStr: *, newStr: *, callback: *): * source
import {diffTrimmedLines} from '@hiherto-elements/diff/diff/line.js'
Params:
Name | Type | Attribute | Description |
oldStr | * | ||
newStr | * | ||
callback | * |
Return:
* |