Skip to content

Formatters are not available after create #106

@piomar123

Description

@piomar123

In node.js after using

var jsondiffpatch = require('jsondiffpatch').create(options);

to create specialized instance, property formatters (as well as console) is undefined on jsondiffpatch object whereas without using create they work correctly.
Not a big issue but took me some time to find the problem in the code.
I couldn't find anything in the documentation saying it is not a bug, moreover it says this is a recommended way of using jsondiffpatch in node.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions