Fix to not use diff_cleanupSemantic, bug report refer to https://code.google.com/p/google-diff-match-patch/issues/detail?id=67
This commit is contained in:
parent
f6d8e3ab00
commit
99628a5662
1 changed files with 0 additions and 1 deletions
|
@ -57,7 +57,6 @@ process.on('message', function(data) {
|
||||||
function createPatch(lastDoc, currDoc) {
|
function createPatch(lastDoc, currDoc) {
|
||||||
var ms_start = (new Date()).getTime();
|
var ms_start = (new Date()).getTime();
|
||||||
var diff = dmp.diff_main(lastDoc, currDoc);
|
var diff = dmp.diff_main(lastDoc, currDoc);
|
||||||
dmp.diff_cleanupSemantic(diff);
|
|
||||||
var patch = dmp.patch_make(lastDoc, diff);
|
var patch = dmp.patch_make(lastDoc, diff);
|
||||||
patch = dmp.patch_toText(patch);
|
patch = dmp.patch_toText(patch);
|
||||||
var ms_end = (new Date()).getTime();
|
var ms_end = (new Date()).getTime();
|
||||||
|
|
Loading…
Reference in a new issue