Home Reference Source

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 Diff() source

public canonicalize(obj: *, stack: *, replacementStack: *, replacer: *, key: *): * source

import {canonicalize} from '@hiherto-elements/diff/diff/json.js'

Params:

NameTypeAttributeDescription
obj *
stack *
replacementStack *
replacer *
key *

Return:

*

public diffArrays(oldArr: *, newArr: *, callback: *): * source

import {diffArrays} from '@hiherto-elements/diff/diff/array.js'

Params:

NameTypeAttributeDescription
oldArr *
newArr *
callback *

Return:

*

public diffChars(oldStr: *, newStr: *, options: *): * source

Params:

NameTypeAttributeDescription
oldStr *
newStr *
options *

Return:

*

public diffCss(oldStr: *, newStr: *, callback: *): * source

import {diffCss} from '@hiherto-elements/diff/diff/css.js'

Params:

NameTypeAttributeDescription
oldStr *
newStr *
callback *

Return:

*

public diffJson(oldObj: *, newObj: *, options: *): * source

import {diffJson} from '@hiherto-elements/diff/diff/json.js'

Params:

NameTypeAttributeDescription
oldObj *
newObj *
options *

Return:

*

public diffLines(oldStr: *, newStr: *, callback: *): * source

import {diffLines} from '@hiherto-elements/diff/diff/line.js'

Params:

NameTypeAttributeDescription
oldStr *
newStr *
callback *

Return:

*

public diffTrimmedLines(oldStr: *, newStr: *, callback: *): * source

import {diffTrimmedLines} from '@hiherto-elements/diff/diff/line.js'

Params:

NameTypeAttributeDescription
oldStr *
newStr *
callback *

Return:

*