You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if both strings are long enough, [a text diffing algorythm](https://code.google.com/p/google-diff-match-patch/) will be used to efficiently detect changes in parts of the text.
90
101
91
102
You can modify the minimum length with:
92
-
```
103
+
```javascript
93
104
var customDiffPatch =jsondiffpatch.create({
94
105
textDiff: {
95
106
minLength:60// default value
@@ -104,5 +115,6 @@ delta = [ unidiff, 0, 2 ]
104
115
105
116
```
106
117
> Note: 2, is the magical number that indicates "text diff"
118
+
107
119
> Note: unidiff is actually a character-based variation of Unidiff format that is explained [here](https://code.google.com/p/google-diff-match-patch/wiki/Unidiff)
0 commit comments