Huzaifa S
unread,Feb 17, 2016, 11:09:19 AM2/17/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pretty Diff
I am using plain old vanilla javascript here..
When comparing two XML documents using the web front end, everything works. But when I do it using code I am not getting the same output...here is my code
var options = {
source: srcXML, // old XML
diff: diffXML, // new XML
mode: "diff",
diffview: "inline"
};
var pd = prettydiff(options); // returns and array: [beautified, report]
var pretty = pd[0]; // this result is not inline and the # of line difference does not match what the UI returns.
Can someone tell me what might be wrong?