Permalink
Browse files

Expose Diff object

Fixes #15
  • Loading branch information...
1 parent c1f3f59 commit 1f4bf7a708fc1121bb49e3b10d2ec7218c52a210 @kpdecker committed Jan 6, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 diff.js
View
@@ -168,6 +168,8 @@ var JsDiff = (function() {
};
return {
+ Diff: Diff,
+
diffChars: function(oldStr, newStr) { return CharDiff.diff(oldStr, newStr); },
diffWords: function(oldStr, newStr) { return WordDiff.diff(oldStr, newStr); },
diffLines: function(oldStr, newStr) { return LineDiff.diff(oldStr, newStr); },

0 comments on commit 1f4bf7a

Please sign in to comment.