forked from scottcheng/cropit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"crop", | ||
"zoom" | ||
], | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"author": { | ||
"name": "Scott Cheng", | ||
"email": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]", | ||
|