curran / google-diff-match-patch

Automatically exported from code.google.com/p/google-diff-match-patch
Apache License 2.0
17 stars 2 forks source link

add word diffing, bower.json #111

Open Daniel-Hug opened 7 years ago

Daniel-Hug commented 7 years ago

Changes summarized:

  1. Add a semicolon to the end of the minified JS file to correct a bug Alain ran into: https://github.com/lqc/google-diff-match-patch/pull/1
  2. Wrap two functions: Each in its own Immediately-Invoked Function Expression (IIFE) to improve performance
  3. Add the diff_wordsToChars_ method (recommended by Neil Fraser) to the uncompressed JS file
  4. Add a git tag as a necessary version number to work as a bower.json package: 0.1.0
  5. Add bower.json file

It would be hard for you to review a compressed file so I'll leave it to you to compress the updated JS if you'd like.