From f4cb577cb4e117f1cee0e7b3915a6ba0ebce14f3 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Fri, 17 Oct 2014 12:26:53 +0100 Subject: [PATCH] Code lint of new features --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 1eaedfdf..7418451e 100755 --- a/index.js +++ b/index.js @@ -111,6 +111,7 @@ Sharp.prototype.crop = function(gravity) { }; Sharp.prototype.extract = function(topOffset, leftOffset, width, height) { + /*jslint unused: false */ var suffix = this.options.width === -1 && this.options.height === -1 ? 'Pre' : 'Post'; var values = arguments; ['topOffset', 'leftOffset', 'width', 'height'].forEach(function(name, index) {