Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.
/ croppie Public archive
forked from Foliotek/Croppie

Commit

Permalink
Merge pull request Foliotek#303 from BassT/patch-1
Browse files Browse the repository at this point in the history
Added missing default value for size
  • Loading branch information
thedustinsmith authored Apr 20, 2017
2 parents a42d806 + defc3d6 commit cfd4d4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion croppie.js
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,8 @@
var RESULT_DEFAULTS = {
type: 'canvas',
format: 'png',
quality: 1
quality: 1,
size: 'viewport'
},
RESULT_FORMATS = ['jpeg', 'webp', 'png'];

Expand Down

0 comments on commit cfd4d4d

Please sign in to comment.