Skip to content

Run prettydiff in the browser (vanilla JS) #430

@dvlato

Description

@dvlato

Similar to the reporter in #248, I am unable to execute prettydiff with the plain vanilla JS code.

I believe that it would be really beneficial that you could add a minimalistic sample HTML page which shows a diff using hardcoded filepaths, for those of us who cannot install node in our CI build servers and still would love to benefic from prettydiff's reporting capabilities. I am not a Javascript developer, so I cannot really figure out how to make it work by studying the index.html example or the event handler logic in dom.js.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions