mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 10:30:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4b1df67a50
commit
b01c82036c
6
diff.js
6
diff.js
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user