Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 6, 2015
  1. Remove unused var

    authored
  2. Output removals prior to additions

    authored
    Fixes #14
  3. Add additional test coverage

    authored
  4. Remove dead code

    authored
    This code had no input on the behavior of this edge case.
Commits on May 4, 2015
Commits on Mar 31, 2015
Commits on Mar 13, 2015
  1. @felicienfrancois

    Test case for #51 fix

    felicienfrancois authored
Commits on Feb 19, 2015
  1. Style, nitpick, and word choice

    James Gould authored
    Fixing everything discussed in the pull request. Also noticed the
    comment for the Trimmed Line Diff tests just said Line Diff, and fixed
    if ( style lower in diff.js
Commits on Feb 11, 2015
  1. Documentation and tests for TrimmedLineDiff

    James Gould authored
    Refactoring to avoid changing tokenize API, adding documentation to
    README.md, and adding 4 tests for TrimmedLineDiff to diffTest.js.
    
    I also found a bug in how TrimmedLineDiff handled windows new lines
    while adding the test, as well as changed TrimmedLineDiff so it doesn't
    add a newline character ('\n') if it is the last line.
Commits on Nov 29, 2014
  1. Allow for optional async diffing

    authored
    Allow callers to avoid blocking the event loop for large diffs (at the expense of code clarity :( )
    
    Fixes #34
  2. Fix diffChars implementation

    authored
  3. Fix incorrectly defined tests

    authored
  4. Fix ~identify equality case

    authored
  5. Merge branch 'diffJson' of github.com:papandreou/jsdiff into papandre…

    authored
    …ou-diffJson
    
    Conflicts:
    	diff.js
  6. Drop unused constant

    authored
Commits on Oct 23, 2014
  1. @vmariano

    Add support for sentences.

    vmariano authored
Commits on Sep 4, 2014
  1. @papandreou

    canonicalize: Keep track of the replacement objects so the correct ob…

    papandreou authored
    …ject can be substituted when a circular reference is detected.
  2. @papandreou

    diffJson: Test that a circular reference causes JSON.stringify to thr…

    papandreou authored
    …ow (rather than an infinite loop).
Commits on Sep 2, 2014
  1. @papandreou
Commits on Aug 8, 2014
  1. @papandreou
Commits on Apr 3, 2014
  1. @papandreou

    Implemented diffJson.

    papandreou authored
    It takes two objects, serializes them as canonical JSON, then does a line-based diff that ignores differences in trailing commas.
    
    See discussion here: mochajs/mocha#1182
Commits on Dec 12, 2013
  1. @benogle

    Handle windows newlines on non windows machines.

    benogle authored
    `value.split(/^/m)` splits the `some\r\ntext` into 3 different elements:
    
    ```
    ['some\r', '\n', 'text']
    ```
    
    Not good for diffing!
Commits on Sep 12, 2013
Commits on Jan 6, 2013
  1. Update for jshint

    authored
Commits on Oct 20, 2012
  1. Update to mocha

    authored
Commits on Aug 31, 2012
  1. @vprimachenko
Commits on Apr 5, 2012
  1. @zzen
Commits on Dec 24, 2011
  1. Merge with origin/master

    authored
  2. Fix EOFNL implementation

    authored
  3. Last line patch tests

    authored
  4. Move test into export

    authored
Commits on Oct 29, 2011
  1. @NV

    Update tests:

    NV authored
      - rename assert.eql to assert.equal. assert.eql is undefined in Node v0.3.1+  (http://nodejs.org/docs/v0.3.1/api/assert.html)
      - require accepts relative paths
Commits on Apr 20, 2011
  1. Import tests from fbtest

    authored
Something went wrong with that request. Please try again.