Use prettydiff in the browser
Hi,
I would like to import prettydiff in my app.
I followed the instruction to build (README) and those you gave on #482 but I couldn't use it correctly even after importing node_modules/parse-framework/js/browser.js and js/prettydiff.js in my page.
Am I missing something ?
Thank you !
Try calling Pretty Diff like this:
myResult = window.prettydiff.mode(options);
Let me know if that doesn't work either. Are you getting any errors?
Actually I think I see the problem. I just made a code update. Try this:
myResult = window.prettydiff(options);
I woke up this morning realizing I broke the application with rushed incomplete advice. I am putting together formal documentation to address this matter.
Try this: https://prettydiff.com/thirdparty.html
That should solve this problem. I am wrong and still don't my stuff together please please please reopen this issue and I will continue to work this.