mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(diff) applyPatch: results -> results[0]
This commit is contained in:
parent
610cd2c1fa
commit
c8254b07cf
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
this.applyPatch = function(oldText, patch) {
|
||||
var patches = dmp.patch_fromText(patch),
|
||||
results = dmp.patch_apply(patches, oldText);
|
||||
results = dmp.patch_apply(patches, oldText)[0];
|
||||
|
||||
return results;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue