minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-08-28 02:26:26 +03:00
parent 4b1df67a50
commit b01c82036c

View File

@ -2252,7 +2252,11 @@ var DiffPrototype = {
},
check: function(obj){
return Object.create(this.constructor.types).check(this.diff, obj) },
return Object.assign(
Object.create(this.constructor.types),
// get the actual placeholders...
this.placeholders)
.check(this.diff, obj) },
patch: function(obj){
return Object.assign(
Object.create(this.constructor.types),