From 10550ce88dcfbef6ce13888367eeca84df7e4d55 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 6 Dec 2017 14:20:32 +0000 Subject: [PATCH] fix README syntax errors --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44ff97d..89da8c0 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ const options = { }; // The parameters can be Node Buffers // 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) { console.log('An error!') } else { @@ -141,7 +141,8 @@ compareImages(image1, image2, options, function (err, data) { */ } -); +}); +``` ### Node.js