Skip to content

Commit

Permalink
Released v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengyuan Chen committed Oct 28, 2015
1 parent 2a1f21f commit 0dbf95d
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog


## 0.2.1 (Oct 28, 2015)

- Fix the error jQuery reference on the `setCanvasData` method
- Fix typo on the `destroy` method


## 0.2.0 (Oct 25, 2015)

- Added 5 new methods: `moveTo`, `zoomTo`, `rotateTo`, `scaleX` and `scaleY`
Expand Down
4 changes: 2 additions & 2 deletions dist/cropper.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v0.2.0
* Cropper v0.2.1
* https://github.com/fengyuanchen/cropperjs
*
* Copyright (c) 2015 Fengyuan Chen
* Released under the MIT license
*
* Date: 2015-10-25T02:25:06.406Z
* Date: 2015-10-28T06:02:32.830Z
*/
.cropper-container {
position: relative;
Expand Down
12 changes: 6 additions & 6 deletions dist/cropper.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v0.2.0
* Cropper v0.2.1
* https://github.com/fengyuanchen/cropperjs
*
* Copyright (c) 2015 Fengyuan Chen
* Released under the MIT license
*
* Date: 2015-10-25T02:25:08.062Z
* Date: 2015-10-28T06:02:34.205Z
*/

(function (global, factory) {
Expand Down Expand Up @@ -91,7 +91,7 @@

// Prototype
var prototype = {
version: '0.2.0'
version: '0.2.1'
};

// Utilities
Expand Down Expand Up @@ -2161,7 +2161,7 @@

if (this.ready) {
if (this.isImg && this.replaced) {
element.asrc = this.originalUrl;
element.src = this.originalUrl;
}

this.unbuild();
Expand Down Expand Up @@ -2525,14 +2525,14 @@
var data = {};

if (this.built) {
$.each([
each([
'left',
'top',
'width',
'height',
'naturalWidth',
'naturalHeight'
], function (i, n) {
], function (n) {
data[n] = canvasData[n];
});
}
Expand Down
4 changes: 2 additions & 2 deletions dist/cropper.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/cropper.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cropperjs",
"description": "JavaScript image cropper.",
"version": "0.2.0",
"version": "0.2.1",
"main": "dist/cropper.js",
"keywords": [
"image",
Expand Down

0 comments on commit 0dbf95d

Please sign in to comment.