From 971f5675717b43a911a0dc110a0ae45fa453fb7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E9=BE=99=E5=B1=B1=E4=BA=BA?= Date: Mon, 9 Jan 2017 18:47:02 +0800 Subject: [PATCH] Docs: correct alpha attribute in extend background example (#675) --- lib/operation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/operation.js b/lib/operation.js index b57011fe..c86b382c 100644 --- a/lib/operation.js +++ b/lib/operation.js @@ -186,7 +186,7 @@ const blur = function blur (sigma) { * // to the top, left and right edges and 20 to the bottom edge * sharp(input) * .resize(140) - * .background({r: 0, g: 0, b: 0, a: 0}) + * .background({r: 0, g: 0, b: 0, alpha: 0}) * .extend({top: 10, bottom: 20, left: 10, right: 10}) * ... *