Docs: correct alpha attribute in extend background example (#675)

This commit is contained in:
子龙山人 2017-01-09 18:47:02 +08:00 committed by Lovell Fuller
parent 7e2eca3d1e
commit 971f567571

View File

@ -186,7 +186,7 @@ const blur = function blur (sigma) {
* // to the top, left and right edges and 20 to the bottom edge * // to the top, left and right edges and 20 to the bottom edge
* sharp(input) * sharp(input)
* .resize(140) * .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}) * .extend({top: 10, bottom: 20, left: 10, right: 10})
* ... * ...
* *