Skip to content

Commit

Permalink
0.3.0
Browse files Browse the repository at this point in the history
New features

* Center image when uploaded
* Added `maxZoom`, `minZoom`, `initialZoom` options
* Added `rejectSmallImage` option
  * By default if image is smaller than preview, it won't be loaded and
  * the old image would be preserved
* Added `onFileReaderError` callback

Breaking changes

* Removed `allowCrossOrigin` option

Development

* Major refactor -- rewrote in ES6! No more CoffeeScript.
* Now build with Webpack and removed Grunt
  • Loading branch information
Scott Cheng committed Jun 21, 2015
1 parent 1748487 commit 27ed784
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cropit",
"description": "Customizable crop and zoom.",
"version": "0.2.0",
"version": "0.3.0",
"authors": [
"Scott Cheng <[email protected]>",
"Yufei Liu <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion cropit.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"crop",
"zoom"
],
"version": "0.2.0",
"version": "0.3.0",
"author": {
"name": "Scott Cheng",
"email": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cropit",
"main": "dist/jquery.cropit.js",
"description": "Customizable crop and zoom.",
"version": "0.2.0",
"version": "0.3.0",
"author": {
"name": "Scott Cheng",
"email": "[email protected]",
Expand Down

0 comments on commit 27ed784

Please sign in to comment.