grunt-responsive-images icon indicating copy to clipboard operation
grunt-responsive-images copied to clipboard

Corrects 'sample' function overriding 'crop' function

Open jhannwong opened this issue 7 years ago • 2 comments

When the code finds that user did not call for 'sample' function, the code correctly assumes the task must do a 'resize'.

Unfortunately, the default behavior ('resize') should have been specified higher up in the code, rather than as an if-else in the check for user-call to 'sample' function.

jhannwong avatar Jan 29 '17 05:01 jhannwong