Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Commit

Permalink
build: release 3.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Mar 1, 2018
1 parent 8dcb358 commit 106e900
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 25 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.1.6 (Mar 1, 2018)

- Fixed a bug of incorrect behavior of `viewMode: 2`.

## 3.1.5 (Feb 25, 2018)

- Fixed a bug of `getCroppedCanvas` method when provide `maxWidth` or `maxHeight` options (#953).
Expand Down
6 changes: 3 additions & 3 deletions dist/cropper.common.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v3.1.5
* Cropper v3.1.6
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-02-25T09:07:38.300Z
* Date: 2018-03-01T13:33:48.179Z
*/

'use strict';
Expand Down Expand Up @@ -915,7 +915,7 @@ var render = {
aspectRatio: aspectRatio,
width: minCanvasWidth,
height: minCanvasHeight
}, 'cover');
});

minCanvasWidth = _getAdjustedSizes.width;
minCanvasHeight = _getAdjustedSizes.height;
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 v3.1.5
* Cropper v3.1.6
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-02-25T09:06:55.204Z
* Date: 2018-03-01T13:33:39.581Z
*/

.cropper-container {
Expand Down
6 changes: 3 additions & 3 deletions dist/cropper.esm.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v3.1.5
* Cropper v3.1.6
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-02-25T09:07:38.300Z
* Date: 2018-03-01T13:33:48.179Z
*/

import $ from 'jquery';
Expand Down Expand Up @@ -911,7 +911,7 @@ var render = {
aspectRatio: aspectRatio,
width: minCanvasWidth,
height: minCanvasHeight
}, 'cover');
});

minCanvasWidth = _getAdjustedSizes.width;
minCanvasHeight = _getAdjustedSizes.height;
Expand Down
6 changes: 3 additions & 3 deletions dist/cropper.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v3.1.5
* Cropper v3.1.6
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-02-25T09:07:38.300Z
* Date: 2018-03-01T13:33:48.179Z
*/

(function (global, factory) {
Expand Down Expand Up @@ -917,7 +917,7 @@ var render = {
aspectRatio: aspectRatio,
width: minCanvasWidth,
height: minCanvasHeight
}, 'cover');
});

minCanvasWidth = _getAdjustedSizes.width;
minCanvasHeight = _getAdjustedSizes.height;
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.

4 changes: 2 additions & 2 deletions docs/css/cropper.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v3.1.5
* Cropper v3.1.6
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-02-25T09:06:55.204Z
* Date: 2018-03-01T13:33:39.581Z
*/

.cropper-container {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="container">
<div class="row">
<div class="col-md">
<h1>Cropper <small class="h6">v3.1.5</small></h1>
<h1>Cropper <small class="h6">v3.1.6</small></h1>
<p class="lead">A simple jQuery image cropping plugin.</p>
</div>
<div class="col-md">
Expand Down
6 changes: 3 additions & 3 deletions docs/js/cropper.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v3.1.5
* Cropper v3.1.6
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-02-25T09:07:38.300Z
* Date: 2018-03-01T13:33:48.179Z
*/

(function (global, factory) {
Expand Down Expand Up @@ -917,7 +917,7 @@ var render = {
aspectRatio: aspectRatio,
width: minCanvasWidth,
height: minCanvasHeight
}, 'cover');
});

minCanvasWidth = _getAdjustedSizes.width;
minCanvasHeight = _getAdjustedSizes.height;
Expand Down
2 changes: 1 addition & 1 deletion examples/crop-avatar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h4 class="modal-title" id="avatar-modal-label">Change Avatar</h4>
<input type="hidden" class="avatar-data" name="avatar_data">
<label class="btn btn-primary avatar-input-label" for="avatarInput">
<input type="file" accept=".jpg,.jpeg,.png,.gif" class="avatar-input" id="avatarInput" name="avatar_file">
Local upload file...
Local upload
</label>
</div>

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cropper",
"description": "A simple jQuery image cropping plugin.",
"version": "3.1.5",
"version": "3.1.6",
"main": "dist/cropper.common.js",
"module": "dist/cropper.esm.js",
"browser": "dist/cropper.js",
Expand Down

0 comments on commit 106e900

Please sign in to comment.