Skip to content

Reverse jiff.patch arg order #19

Description

@briancavalier

Total breaking API change, but here's why it could be very nice:

var patched = patches.reduce(function(data, patch) {
    return jiff.patch(patch, data);
}, data);

becomes:

var patched = patches.reduce(jiff.patch, data);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions