UNPKG

jsondiffpatch

Version:
12 lines (8 loc) 248 B
var Context = require('./context').Context; var PatchContext = function PatchContext(left, delta) { this.left = left; this.delta = delta; this.pipe = 'patch'; }; PatchContext.prototype = new Context(); exports.PatchContext = PatchContext;