mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 20:29:10 +00:00
parent
a4da53ef6c
commit
8ad08b0cd4
@ -39,7 +39,7 @@ DiffTextWidget.prototype.render = function(parent,nextSibling) {
|
|||||||
this.execute();
|
this.execute();
|
||||||
// Create the diff
|
// Create the diff
|
||||||
var dmpObject = new dmp.diff_match_patch(),
|
var dmpObject = new dmp.diff_match_patch(),
|
||||||
diffs = dmpObject.diff_main(this.getAttribute("source"),this.getAttribute("dest"));
|
diffs = dmpObject.diff_main(this.getAttribute("source",""),this.getAttribute("dest",""));
|
||||||
// Apply required cleanup
|
// Apply required cleanup
|
||||||
switch(this.getAttribute("cleanup","semantic")) {
|
switch(this.getAttribute("cleanup","semantic")) {
|
||||||
case "none":
|
case "none":
|
||||||
|
Loading…
Reference in New Issue
Block a user