Browse Source

fix README syntax errors

pull/117/head
Thomas Grainger 7 years ago
parent
commit
10550ce88d
No known key found for this signature in database
GPG Key ID: B120038F793F513C
  1. 5
      README.md

5
README.md

@ -126,7 +126,7 @@ const options = {
}; };
// The parameters can be Node Buffers // The parameters can be Node Buffers
// data is the same as usual with an additional getBuffer() function // data is the same as usual with an additional getBuffer() function
compareImages(image1, image2, options, function (err, data) { compare(image1, image2, options, function (err, data) {
if (err) { if (err) {
console.log('An error!') console.log('An error!')
} else { } else {
@ -141,7 +141,8 @@ compareImages(image1, image2, options, function (err, data) {
*/ */
} }
); });
```
### Node.js ### Node.js

Loading…
Cancel
Save