Skip to content

Run prettydiff in the browser (vanilla JS) #430

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions