Add JavaScript for validating diff files.

Review Request #4320 — Created July 11, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Add JavaScript for validating diff files.

This is the client side of the diff validation resource. To use this, one
instantiates the model, sets the repository/diff/parent diff/basedir, and calls
save(). Either the "success" or "error" callbacks in the options object passed
to save will be called, based on whether the diff parses correctly and the
source files exist.
- Ran unit tests.
- Used this with a number of different diffs that caused various errors.
    Loading...