diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/diff/README.md | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
Diffstat (limited to 'node_modules/diff/README.md')
-rw-r--r-- | node_modules/diff/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/diff/README.md b/node_modules/diff/README.md index 007bffb0b..5747fe367 100644 --- a/node_modules/diff/README.md +++ b/node_modules/diff/README.md @@ -107,7 +107,7 @@ bower install jsdiff --save The optional `options` object may have the following keys: - `fuzzFactor`: Number of lines that are allowed to differ before rejecting a patch. Defaults to 0. - - `compareLine(lineNumber, line, operation, patchContent)`: Callback used to compare to given lines to determine if they should be considered equal when patching. Defaults to strict equality but may be overriden to provide fuzzier comparison. Should return false if the lines should be rejected. + - `compareLine(lineNumber, line, operation, patchContent)`: Callback used to compare to given lines to determine if they should be considered equal when patching. Defaults to strict equality but may be overridden to provide fuzzier comparison. Should return false if the lines should be rejected. * `JsDiff.applyPatches(patch, options)` - applies one or more patches. @@ -141,7 +141,7 @@ Note that some cases may omit a particular flag field. Comparison on the flag fi Basic example in Node ```js -require('colors') +require('colors'); var jsdiff = require('diff'); var one = 'beep boop'; @@ -157,7 +157,7 @@ diff.forEach(function(part){ process.stderr.write(part.value[color]); }); -console.log() +console.log(); ``` Running the above program should yield |