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

Commit

Permalink
Release v3.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Feb 25, 2017
1 parent c69f1a3 commit d1bee4d
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 43 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog


## 3.0.0-beta (Feb 25, 2017)

- Fixed the bug of rotate square image lead image shrink.
- Improved RegExps for DataURL processing.


## 3.0.0-alpha.1 (Jan 21, 2017)

- Use CSS3 2D Transforms instead of `left` and `top` for better performance.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

## Features

- Supports jQuery v1.9.1+
- Supports 38 [options](#options)
- Supports 27 [methods](#methods)
- Supports 6 [events](#events)
Expand Down Expand Up @@ -737,6 +738,7 @@ Output the final cropped area position and size data (base on the natural size o
- **data**:
- Type: `Object`
- Properties: See the [`getData`](#getdatarounded) method.
- You may need to round the data properties before pass it in.

Change the cropped area position and size with new data (base on the original image).

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.0.0-alpha.1
* Cropper v3.0.0-beta
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-01-21T11:58:14.219Z
* Date: 2017-02-25T07:44:44.656Z
*/

.cropper-container {
Expand Down
26 changes: 12 additions & 14 deletions dist/cropper.js

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

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.0.0-alpha.1
* Cropper v3.0.0-beta
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-01-21T11:58:14.219Z
* Date: 2017-02-25T07:44:44.656Z
*/

.cropper-container {
Expand Down
4 changes: 2 additions & 2 deletions docs/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ label.btn {
@media (min-width: 992px) {
.docs-jumbotron h1,
.docs-jumbotron p {
margin-right: 360px;
margin-right: 380px;
}
}

Expand All @@ -54,7 +54,7 @@ label.btn {

.docs-carbonads {
font-size: .875rem;
max-width: 330px;
max-width: 360px;
padding: 1rem;
border: 1px solid #ccc;
border-radius: .25rem;
Expand Down
7 changes: 4 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/css/tether.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">
<link rel="stylesheet" href="css/cropper.css">
<link rel="stylesheet" href="css/main.css">
Expand All @@ -29,7 +30,7 @@

<!-- Header -->
<header class="navbar navbar-light navbar-toggleable-md">
<nav class="container">
<div class="container">
<a class="navbar-brand" href="./">Cropper</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapse" aria-controls="navbar-collapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand All @@ -42,13 +43,13 @@
<a class="nav-link" href="http://chenfengyuan.com">About</a>
</nav>
</div>
</nav>
</div>
</header>

<!-- Jumbotron -->
<div class="jumbotron docs-jumbotron">
<div class="container">
<h1>Cropper <small class="version">v3.0.0-alpha.1</small></h1>
<h1>Cropper <small class="version">v3.0.0-beta</small></h1>
<p class="lead">A simple jQuery image cropping plugin.</p>
<div class="docs-carbonads-container">
<div class="docs-carbonads">
Expand Down
26 changes: 12 additions & 14 deletions docs/js/cropper.js

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.0.0-alpha.1",
"version": "3.0.0-beta",
"main": "dist/cropper.js",
"license": "MIT",
"repository": "fengyuanchen/cropper",
Expand Down

0 comments on commit d1bee4d

Please sign in to comment.